summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-23 17:05:42 -0700
committerTim Smith <tsmith84@gmail.com>2020-03-23 17:05:42 -0700
commit6bbc3ddf8dfa1e6c713269058c9a7544131fbda2 (patch)
tree7f462337ebd11ab521960bc255222c765591483a
parent9a38a1d341c3260d0a8796d0afd302f6cca9c6a6 (diff)
downloadchef-6bbc3ddf8dfa1e6c713269058c9a7544131fbda2.tar.gz
Add missing description for mailto property
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/chef_client_cron.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/chef_client_cron.rb b/lib/chef/resource/chef_client_cron.rb
index 5313800622..829755b9ef 100644
--- a/lib/chef/resource/chef_client_cron.rb
+++ b/lib/chef/resource/chef_client_cron.rb
@@ -83,7 +83,8 @@ class Chef
"should be a valid weekday spec" => ->(spec) { Chef::ResourceHelpers::CronValidations.validate_dow(spec) },
}
- property :mailto, String
+ property :mailto, String,
+ description: "The e-mail address to e-mail any cron task failures to."
property :job_name, String,
default: Chef::Dist::CLIENT,