Created
September 22, 2013 15:45
-
-
Save smerrill/6661189 to your computer and use it in GitHub Desktop.
Script to create an OpenShift user on an OpenShift broker.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /var/www/openshift/broker | |
$ rails console | |
irb(main):> a = OpenShift::MongoAuthService.new() | |
=> #<OpenShift::MongoAuthService:0x00000004507db0 @salt="changeme"> | |
irb(main):> a.register_user('steven','merrill') | |
=> true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment