summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-08-26 14:35:41 -0700
committerTim Smith <tsmith84@gmail.com>2020-08-26 14:35:41 -0700
commiteab43e7d05b706b67ae1df84104b64fdfe8e64ef (patch)
tree312da2db1fd993d7c91490f1f990f9f241c7f9cb
parent83dc189f28601b5896fcd63aaad21aa77f2eb8c8 (diff)
downloadchef-eab43e7d05b706b67ae1df84104b64fdfe8e64ef.tar.gz
Set the default nice value to nil not 0
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/chef_client_launchd.rb3
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",