diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-08-26 14:35:41 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-08-26 14:35:41 -0700 |
commit | eab43e7d05b706b67ae1df84104b64fdfe8e64ef (patch) | |
tree | 312da2db1fd993d7c91490f1f990f9f241c7f9cb /lib/chef | |
parent | 83dc189f28601b5896fcd63aaad21aa77f2eb8c8 (diff) | |
download | chef-eab43e7d05b706b67ae1df84104b64fdfe8e64ef.tar.gz |
Set the default nice value to nil not 0
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/resource/chef_client_launchd.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/resource/chef_client_launchd.rb b/lib/chef/resource/chef_client_launchd.rb index 0500991edc..3d335e80ee 100644 --- a/lib/chef/resource/chef_client_launchd.rb +++ b/lib/chef/resource/chef_client_launchd.rb @@ -89,8 +89,7 @@ class Chef property :nice, [Integer, String], description: "The process priority to run the #{Chef::Dist::CLIENT} process at. A value of -20 is the highest priority and 19 is the lowest priority.", coerce: proc { |x| Integer(x) }, - callbacks: { "should be a Integer between -20 and 19" => proc { |v| v >= -20 && v <= 19 } }, - default: 0 + callbacks: { "should be a Integer between -20 and 19" => proc { |v| v >= -20 && v <= 19 } } property :low_priority_io, [true, false], description: "Run the #{Chef::Dist::CLIENT} process with low priority disk IO", |