Specifying which cookbooks to run with Chef Solo

后端 未结 5 684
孤城傲影
孤城傲影 2021-01-31 11:05

I\'m using chef-solo to test my cookbooks locally, but I want to be able to only run the cookbook(s) that I\'m testing. Currently, it seems like chef-solo will run all cookbooks

5条回答
  •  悲&欢浪女
    2021-01-31 11:34

    chef-client --local-mode hello.rb
    check
    https://learn.chef.io/learn-the-basics/ubuntu/configure-a-resource/
    https://docs.chef.io/ctl_chef_client.html

提交回复
热议问题