summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <lance@osuosl.org>2020-09-14 11:14:56 -0700
committerLance Albertson <lance@osuosl.org>2020-09-14 11:17:55 -0700
commit198d241f8c5463a385dfa9bc709fa3724ca617f6 (patch)
tree4077d0a5fb8ce12f307d3a3bf1259773cb2aaf80
parent3279495e326b42bfea300287e02974d9a0a36026 (diff)
downloadchef-198d241f8c5463a385dfa9bc709fa3724ca617f6.tar.gz
Fix Chef::Dist in chef_client_systemd_timer
Signed-off-by: Lance Albertson <lance@osuosl.org>
-rw-r--r--lib/chef/resource/chef_client_systemd_timer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/chef_client_systemd_timer.rb b/lib/chef/resource/chef_client_systemd_timer.rb
index 2d194bebec..ce250ea68d 100644
--- a/lib/chef/resource/chef_client_systemd_timer.rb
+++ b/lib/chef/resource/chef_client_systemd_timer.rb
@@ -99,7 +99,7 @@ class Chef
default: lazy { {} }
property :cpu_quota, [Integer, String],
- description: "The systemd CPUQuota to run the #{Chef::Dist::CLIENT} process with. This is a percentage value of the total CPU time available on the system. If the system has more than 1 core this may be a value greater than 100.",
+ description: "The systemd CPUQuota to run the #{ChefUtils::Dist::Infra::CLIENT} process with. This is a percentage value of the total CPU time available on the system. If the system has more than 1 core this may be a value greater than 100.",
introduced: "16.5",
coerce: proc { |x| Integer(x) },
callbacks: { "should be a positive Integer" => proc { |v| v > 0 } }