Skip to content

Instantly share code, notes, and snippets.

@hh
Created March 17, 2014 09:21
Show Gist options
  • Save hh/9596235 to your computer and use it in GitHub Desktop.
Save hh/9596235 to your computer and use it in GitHub Desktop.
Creating Users / Orgs on EC11
echo postgres://opscode_chef@localhost/opscode_chef > /etc/opscode/DATABASE_URI
cd /opt/opscode/embedded/service/opscode-account
bundle exec ./bin/createobjecttool --object-type user -a http://127.0.0.1:9465 --user-password chris4321 --object-name chris4321  --displayname chris4321 --email [email protected] --firstname Chris --middlename M --lastname McClimans --key-path /tmp/chris4321-key.pem --opscode-private-key /etc/opscode/pivotal.pem --opscode-username pivotal
bundle exec ./bin/createorgtool -t Business -a http://127.0.0.1:9465   --org-name chris4321 --customer-org-fullname chris4321-fullname  --client-key-path /tmp/chris4321-validator.pem --username chris4321 --opscode-username pivotal --opscode-private-key /etc/opscode/pivotal.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment