diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-09-09 14:26:44 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-09-09 14:31:06 -0700 |
commit | e805aeba4cc98eb4d6b49af8aa00fa23060bf37e (patch) | |
tree | a926c793daa15e1dc0b3bccc9360a149f72cff26 | |
parent | 5761afec4a5aa81e2d139d86978577976e6cf7b9 (diff) | |
download | chef-e805aeba4cc98eb4d6b49af8aa00fa23060bf37e.tar.gz |
Fix chefstyle warning
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/chef_client_scheduled_task.rb | 2 |
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) |