Last active
May 23, 2016 16:42
-
-
Save jasonmarlin/dea24ed23db7e4f8556e553dccb4017d to your computer and use it in GitHub Desktop.
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
1. Bootstrap the node (this adds the client and node to Chef server and installs Chef client on node) | |
knife bootstrap <hostname> --sudo --ssh-user administrator --ssh-password "<password>" --node-name <hostname> | |
2. Run chef-client on the node | |
ssh administrator@<hostname> | |
sudo chef-client | |
3. Run it again, so it gets a reference to its own host in /etc/hosts | |
sudo chef-client | |
4. Hopefully that's it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment