Chef configuration manager : cookbook promotion

From PedrosBrainDump
Revision as of 13:43, 3 February 2025 by 413vhcu1lq0463ob (talk | contribs) (Created page with "promote cookbook knife spork promote ENVIRONMENT --remote REMOTE push changes git push origin main search for the nodes knife search node 'role:ROLE' -i run chef client on all nodes if you do not want to wait knife ssh 'role:NODE' 'sudo chef-client' -C how many commands at time knife ssh 'role:ROLE' -C1 'sudo chef-client'")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

promote cookbook

knife spork promote ENVIRONMENT --remote REMOTE

push changes

git push origin main

search for the nodes

knife search node 'role:ROLE' -i

run chef client on all nodes if you do not want to wait

knife ssh 'role:NODE' 'sudo chef-client'

-C how many commands at time

knife ssh 'role:ROLE' -C1 'sudo chef-client'