summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-08-26 14:47:38 -0700
committerTim Smith <tsmith84@gmail.com>2020-08-26 14:47:38 -0700
commit23b03189365fb612f628c9bd2a6d4000bf9d2e78 (patch)
treed04b3480e93ea41f5ebba8a19a30608cf6278c5a
parenteab43e7d05b706b67ae1df84104b64fdfe8e64ef (diff)
downloadchef-23b03189365fb612f628c9bd2a6d4000bf9d2e78.tar.gz
an Integer not a Integer
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/chef_client_launchd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/chef_client_launchd.rb b/lib/chef/resource/chef_client_launchd.rb
index 3d335e80ee..704fd47ad1 100644
--- a/lib/chef/resource/chef_client_launchd.rb
+++ b/lib/chef/resource/chef_client_launchd.rb
@@ -89,7 +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 } }
+ callbacks: { "should be an 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",