summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskeshari12 <skeshari@msystechnologies.com>2021-12-21 18:29:29 +0530
committerskeshari12 <skeshari@msystechnologies.com>2021-12-21 18:29:29 +0530
commit338826a8b5d7be923f95c3b270ac726eac12bc4e (patch)
tree595ba7e350f153755c6e91f546b2d62d79fbdf86
parent705c3e7a2410e1b0b8f5d7239fb6a296d1db123c (diff)
downloadchef-338826a8b5d7be923f95c3b270ac726eac12bc4e.tar.gz
use specific provider for cron on amazon
Signed-off-by: skeshari12 <skeshari@msystechnologies.com>
-rw-r--r--lib/chef/provider/cron.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/cron.rb b/lib/chef/provider/cron.rb
index 29ecd4dd2a..83490d0560 100644
--- a/lib/chef/provider/cron.rb
+++ b/lib/chef/provider/cron.rb
@@ -22,7 +22,7 @@ class Chef
class Provider
class Cron < Chef::Provider
- provides :cron, os: ["!aix", "!solaris2"]
+ provides :cron, os: ["!aix", "!solaris2", "!amazon"]
SPECIAL_TIME_VALUES = %i{reboot yearly annually monthly weekly daily midnight hourly}.freeze
CRON_ATTRIBUTES = %i{minute hour day month weekday time command mailto path shell home environment}.freeze