summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-01 11:16:49 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-01 11:16:49 -0700
commit33e52054669753fad37f57209510848531dff7a0 (patch)
tree4e8b6f8500ce50feb26571742feb960eff5b3c19
parentba47fec47fc34c718713fbcebea55fd44e4eaba7 (diff)
downloadchef-33e52054669753fad37f57209510848531dff7a0.tar.gz
Update cron formattingmore_docs_stuff
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/cron.rb8
-rw-r--r--lib/chef/resource/cron_d.rb8
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/resource/cron.rb b/lib/chef/resource/cron.rb
index baabe4d5d9..73460859fa 100644
--- a/lib/chef/resource/cron.rb
+++ b/lib/chef/resource/cron.rb
@@ -122,10 +122,10 @@ class Chef
property :time_out, Hash,
description: "A Hash of timeouts in the form of `({'OPTION' => 'VALUE'})`.
Accepted valid options are:
- preserve-status (BOOL, default: 'false'),
- foreground (BOOL, default: 'false'),
- kill-after (in seconds),
- signal (a name like 'HUP' or a number)",
+ `preserve-status` (BOOL, default: 'false'),
+ `foreground` (BOOL, default: 'false'),
+ `kill-after` (in seconds),
+ `signal` (a name like 'HUP' or a number)",
default: lazy { {} },
introduced: "15.7",
coerce: proc { |h|
diff --git a/lib/chef/resource/cron_d.rb b/lib/chef/resource/cron_d.rb
index 91027f0f4c..d06d479cc9 100644
--- a/lib/chef/resource/cron_d.rb
+++ b/lib/chef/resource/cron_d.rb
@@ -151,10 +151,10 @@ class Chef
property :time_out, Hash,
description: "A Hash of timeouts in the form of `({'OPTION' => 'VALUE'})`.
Accepted valid options are:
- preserve-status (BOOL, default: 'false'),
- foreground (BOOL, default: 'false'),
- kill-after (in seconds),
- signal (a name like 'HUP' or a number)",
+ `preserve-status` (BOOL, default: 'false'),
+ `foreground` (BOOL, default: 'false'),
+ `kill-after` (in seconds),
+ `signal` (a name like 'HUP' or a number)",
default: lazy { {} },
introduced: "15.7",
coerce: proc { |h|