summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-09-09 14:26:44 -0700
committerTim Smith <tsmith84@gmail.com>2021-09-09 14:31:06 -0700
commite805aeba4cc98eb4d6b49af8aa00fa23060bf37e (patch)
treea926c793daa15e1dc0b3bccc9360a149f72cff26
parent5761afec4a5aa81e2d139d86978577976e6cf7b9 (diff)
downloadchef-e805aeba4cc98eb4d6b49af8aa00fa23060bf37e.tar.gz
Fix chefstyle warning
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/chef_client_scheduled_task.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/chef_client_scheduled_task.rb b/lib/chef/resource/chef_client_scheduled_task.rb
index 8b251b2441..b94ac59fb8 100644
--- a/lib/chef/resource/chef_client_scheduled_task.rb
+++ b/lib/chef/resource/chef_client_scheduled_task.rb
@@ -132,7 +132,7 @@ class Chef
property :priority, Integer,
description: "Use to set Priority Levels range from 0 to 10.",
default: 7, callbacks: { "should be in range of 0 to 10" => proc { |v| v >= 0 && v <= 10 } }
-
+
action :add, description: "Add a Windows Scheduled Task that runs #{ChefUtils::Dist::Infra::PRODUCT}." do
# TODO: Replace this with a :create_if_missing action on directory when that exists
unless Dir.exist?(new_resource.log_directory)