Last active
December 21, 2015 21:49
-
-
Save pcanterini/6371338 to your computer and use it in GitHub Desktop.
Setting up server with knife solo
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
# ssh stuff | |
brew install ssh-copy-id | |
ssh-copy-id root@server | |
# knife solo | |
gem install knife-solo | |
knife solo init project-name | |
knife cookbook create nginx -o cookbooks | |
knife prepare root@ip | |
# remember to add cookbook to json file eg: {"run_list":["recipe[nginx]"]} | |
knife solo cook root@ip | |
gem install librarian-chef | |
librarian-chef init | |
librarian-chef install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment