Open cjmling opened 4 years ago
And if you want to just run default recipe of each cookbook then you can omit the recipe name and use shorthand like
sudo chef-client --local-mode -r "recipe[workstation],recipe[apache]"
--local-mode
can be shorthand as -z
Use
sudo chef-client --local-mode -r "recipe[workstation::setup],recipe[apache::server]"
Note
workstation
andapache
are cookbook namesetup
andserver
are recipe nameChef run multiple recipe from multiple cookbooks