summaryrefslogtreecommitdiff
path: root/lib/chef/resource/cron
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/cron')
-rw-r--r--lib/chef/resource/cron/_cron_shared.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/cron/_cron_shared.rb b/lib/chef/resource/cron/_cron_shared.rb
index 6d11035862..3dba74e77f 100644
--- a/lib/chef/resource/cron/_cron_shared.rb
+++ b/lib/chef/resource/cron/_cron_shared.rb
@@ -61,7 +61,7 @@ property :user, String,
property :environment, Hash,
description: "A Hash containing additional arbitrary environment variables under which the cron job will be run in the form of `({'ENV_VARIABLE' => 'VALUE'})`. **Note**: These variables must exist for a command to be run successfully.",
- default: lazy { {} }
+ default: {}
property :time_out, Hash,
description: "A Hash of timeouts in the form of `({'OPTION' => 'VALUE'})`. Accepted valid options are:
@@ -69,7 +69,7 @@ property :time_out, Hash,
- `foreground` (BOOL, default: 'false'),
- `kill-after` (in seconds),
- `signal` (a name like 'HUP' or a number)",
- default: lazy { {} },
+ default: {},
introduced: "15.7",
coerce: proc { |h|
if h.is_a?(Hash)