summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskeshari12 <skeshari@msystechnologies.com>2021-12-24 14:46:11 +0530
committerskeshari12 <skeshari@msystechnologies.com>2021-12-24 14:46:11 +0530
commit7e6ad09978727c5c4d182aacabf629e75a910c4b (patch)
tree2da3f164d6cede020d99c1cda19a8921242a3aef
parent03487ec4408d6f0d8e82ac9e5767c8d53888e38b (diff)
downloadchef-7e6ad09978727c5c4d182aacabf629e75a910c4b.tar.gz
revert cron changes
Signed-off-by: skeshari12 <skeshari@msystechnologies.com>
-rw-r--r--lib/chef/provider/cron.rb2
-rw-r--r--lib/chef/provider/cron/unix.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/cron.rb b/lib/chef/provider/cron.rb
index 9977ab1128..29ecd4dd2a 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", "!amazon-2022"]
+ provides :cron, os: ["!aix", "!solaris2"]
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
diff --git a/lib/chef/provider/cron/unix.rb b/lib/chef/provider/cron/unix.rb
index d20cb57571..cb3a2f9a61 100644
--- a/lib/chef/provider/cron/unix.rb
+++ b/lib/chef/provider/cron/unix.rb
@@ -26,7 +26,7 @@ class Chef
class Provider
class Cron
class Unix < Chef::Provider::Cron
- provides :cron, os: "solaris2", "amazon-2022"
+ provides :cron, os: "solaris2"
private