diff options
author | Claire McQuin <claire@getchef.com> | 2014-05-01 14:38:07 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-05-05 09:25:05 -0700 |
commit | a20d6162f11154f248503f4145afff3a511afc98 (patch) | |
tree | ec4e924cdbd12b9014bddb4fa9261a7d6a44a3f5 /lib/chef/config.rb | |
parent | 561b564d28e12731434513f1783cd519690e144b (diff) | |
download | chef-a20d6162f11154f248503f4145afff3a511afc98.tar.gz |
add option to abandon chef run if blocked by another for too long
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r-- | lib/chef/config.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index a836c62456..f9a3289b30 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -547,6 +547,11 @@ class Chef # the directory that files are going to reside. default :file_staging_uses_destdir, false + # Exit if another run is in progress and the chef-client is unable to + # get the lock before time expires. If nil, no timeout is enforced. (Exits + # immediately if 0.) + default :run_lock_timeout, nil + # If installed via an omnibus installer, this gives the path to the # "embedded" directory which contains all of the software packaged with # omnibus. This is used to locate the cacert.pem file on windows. |