Revisions
-
JCotton1123 revised this gist
Oct 27, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ * `chef-server-ctl reconfigure` * `chef-server-ctl user-create admin Chef Administrator jcotton@bitlancer.com <password> --filename /tmp/admin.pem` * `chef-server-ctl org-create <org-short-name> "<org-full-name>" --association_user admin --filename /tmp/validator.pem` * Use OpenSSL to generate a new cert and key and update: `/var/opt/opscode/nginx/ca/<fqdn>.key`, `/var/opt/opscode/nginx/ca/<fqdn>.crt`. Restart services (nginx) with: `chef-server-ctl restart` ## Cleanup and re-initiate a bad install -
JCotton1123 created this gist
Oct 27, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ ## Setup Chef server * Make sure the server is configured with an appropriate hostname that resolves to itself (add hosts entry if needed) * Download and install Chef server package from: http://downloads.chef.io/chef-server/ * `chef-server-ctl reconfigure` * `chef-server-ctl user-create admin Chef Administrator jcotton@bitlancer.com <password> --filename /tmp/admin.pem` * `chef-server-ctl org-create <org-short-name> "<org-full-name>" --association_user admin --filename /tmp/validator.pem` * Use OpenSSL to generate a new cert and key and update: /var/opt/opscode/nginx/ca/<fqdn>.key, /var/opt/opscode/nginx/ca/<fqdn>.crt. Restart services (nginx) with: `chef-server-ctl restart` ## Cleanup and re-initiate a bad install * `chef-server-ctl cleanse` * `chef-server-ctl reconfigure`