aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Shinde <shubham.shinde@perforce.com>2023-12-04 22:11:21 +0530
committerShubham Shinde <shubham.shinde@perforce.com>2023-12-04 22:56:17 +0530
commitc3805adc5d8155fc0193f35c547f08f181a71710 (patch)
tree3f711af57086324d37bfeb5e6fd2c134e9df8e46
parent1d605e813f62a45dcf7881e07f25ba05fef816a6 (diff)
downloadpuppet-cron_core-c3805adc5d8155fc0193f35c547f08f181a71710.tar.gz
puppet-cron_core-c3805adc5d8155fc0193f35c547f08f181a71710.tar.bz2
(PA-5954) Add Amazon linux to install the 'cronie' (instead of cron) module used in rpm based platforms
-rw-r--r--spec/spec_helper_acceptance.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index 660c1ce..9842b70 100644
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -52,7 +52,7 @@ def setup(agent, o = {})
o = { user: 'tstuser' }.merge(o)
apply_manifest_on(agent, %(user { '%s': ensure => present, managehome => false }) % o[:user])
apply_manifest_on(agent, %(case $facts['os']['name'] {
- centos, redhat, fedora: {$cron = 'cronie'}
+ centos, redhat, fedora, amazon: {$cron = 'cronie'}
solaris: { $cron = 'core-os' }
default: {$cron ='cron'} }
package {'cron': name=> $cron, ensure=>present, }))