Created
November 21, 2017 10:18
-
-
Save Staggerlee011/81328fc48a94b24bf0830dbff8664ddf to your computer and use it in GitHub Desktop.
Collection of Chef run_list commands
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 the run_lists on a node | |
knife node run_list list <NODE> -r | |
## Set a run_list | |
knife node run_list <NODE> 'recipe[iis]' | |
## Add an item before | |
knife node run_list add <NODE> recipe[basicconfig::join_ad] -b recipe[iis] | |
## Add an item after | |
knife node run_list add <NODE> recipe[website1::config] -a recipe[iis] | |
## remove a run_list item | |
knife node run_list remove <NODE> recipe[website1::config] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment