Skip to content

Fast forward apply cookbook changes

ehaselwanter edited this page Jan 13, 2012 · 1 revision

go to the crowbar admin machine and

update the file in the cookbook you want to change /opt/dell/chef/cookbooks/<cookbook_name>/path/to/file

execute (as root): knife cookbook upload <cookbook_name> -o /opt/dell/chef/cookbooks/

This gets your changes into chef. now you have several options to apply it on a node:

  • wait +/- 15 minutes for the next chef run on the node
  • go to the node and run (as root) bluepill restart chef-client
  • use the crowbar ui and apply the e.g. a barclamp that is used on every node ( e.g. the dns barclamp)
Clone this wiki locally