diff options
author | Jos Backus <jos@catnook.com> | 2015-12-15 14:49:46 -0800 |
---|---|---|
committer | Jos Backus <jos@catnook.com> | 2016-02-17 11:03:20 -0800 |
commit | 7dde5d9e6fc1b25f43198b9b3beb08b2684af0cb (patch) | |
tree | 538438d930cba31afde4954d28281402bda98443 /lib/chef/application/client.rb | |
parent | e48aee5eae2191cf5755697d3f4407827945b0e9 (diff) | |
download | chef-7dde5d9e6fc1b25f43198b9b3beb08b2684af0cb.tar.gz |
chef-client: add --[no]skip-cookbook-sync option
Use with caution. Useful for patching a set of cookbooks on a machine
when iterating during development.
Diffstat (limited to 'lib/chef/application/client.rb')
-rw-r--r-- | lib/chef/application/client.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index 1a7d8d046d..badd7af9cf 100644 --- a/lib/chef/application/client.rb +++ b/lib/chef/application/client.rb @@ -285,6 +285,11 @@ class Chef::Application::Client < Chef::Application :description => "DANGEROUS: does what it says, only useful with --recipe-url", :boolean => true + option :skip_cookbook_sync, + :long => "--[no-]skip-cookbook-sync", + :description => "Whether to skip cookbook synchronization", + :boolean => false + IMMEDIATE_RUN_SIGNAL = "1".freeze attr_reader :chef_client_json |