aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorEnis Inan <enis.inan@puppet.com>2019-01-07 10:23:43 -0800
committerEnis Inan <enis.inan@puppet.com>2019-01-07 12:57:21 -0800
commit8ad820c56a7feeffd759842836896aca40169fc2 (patch)
treef538d0ec6acce2e17285246bda1a387ac4c01571 /spec
parent8b998ab6c7840edecfff0226b3eaa116da814966 (diff)
downloadpuppet-cron_core-8ad820c56a7feeffd759842836896aca40169fc2.tar.gz
puppet-cron_core-8ad820c56a7feeffd759842836896aca40169fc2.tar.bz2
(maint) Enable cron tests on Fedora 28, 29 using cronie
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper_acceptance.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index 4759227..e4f0182 100644
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -10,7 +10,7 @@ def beaker_opts
end
def compatible_agents
- agents.reject { |agent| agent['platform'].include?('windows') || agent['platform'].include?('eos-') || agent['platform'].include?('fedora-28') }
+ agents.reject { |agent| agent['platform'].include?('windows') || agent['platform'].include?('eos-') }
end
def clean(agent, o = {})
@@ -23,7 +23,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 $operatingsystem {
- centos, redhat: {$cron = 'cronie'}
+ centos, redhat, fedora: {$cron = 'cronie'}
solaris: { $cron = 'core-os' }
default: {$cron ='cron'} }
package {'cron': name=> $cron, ensure=>present, }))