diff options
author | Thom May <thom@may.lt> | 2016-02-18 09:07:37 +0000 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-02-18 09:07:37 +0000 |
commit | 320389bf316d461ffc874ec4041999bffbac590a (patch) | |
tree | 60f35b64c110f125a3d9bc6fd65eb594b35749e4 /lib/chef/application/client.rb | |
parent | a07b8022e790c025265f8859b5e04ac5116e7683 (diff) | |
parent | d038cf5a74267e02136d38407bbaa188754e5830 (diff) | |
download | chef-320389bf316d461ffc874ec4041999bffbac590a.tar.gz |
Merge pull request #4316 from josb/master
chef-client: add --[no]skip-cookbook-sync option
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..9ec553fb8a 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 => "Use cached cookbooks without overwriting local differences from the server", + :boolean => false + IMMEDIATE_RUN_SIGNAL = "1".freeze attr_reader :chef_client_json |