Last active
November 20, 2017 15:13
-
-
Save Staggerlee011/2a674c741c60c636e6f19bf71d7bb610 to your computer and use it in GitHub Desktop.
Chef knife commands for cookbooks by Example
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
# list all cookbooks on Chef Server | |
knife cookbook list | |
# List all cookbooks on Chef Server (with version info) | |
knife cookbook list -a | |
# download all cookbooks from the Chef Server | |
knife download cookbooks | |
# Upload all cookbooks from workstation to Chef Server | |
knife cookbook upload --all | |
# Upload a specific cookbook from workstation to Chef Server | |
knife cookbook upload ax_SQLServer | |
# Delete a cookbook from the Chef Server | |
knife cookbook delete ax_SQLServer | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment