diff options
author | speedofdark <33673687+speedofdark@users.noreply.github.com> | 2019-01-07 13:00:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-07 13:00:57 -0800 |
commit | 8a12be4134ad2478b3cb9e400c65bd555ed1513b (patch) | |
tree | f538d0ec6acce2e17285246bda1a387ac4c01571 /spec/spec_helper_acceptance.rb | |
parent | 8b998ab6c7840edecfff0226b3eaa116da814966 (diff) | |
parent | 8ad820c56a7feeffd759842836896aca40169fc2 (diff) | |
download | puppet-cron_core-8a12be4134ad2478b3cb9e400c65bd555ed1513b.tar.gz puppet-cron_core-8a12be4134ad2478b3cb9e400c65bd555ed1513b.tar.bz2 |
Merge pull request #15 from ekinanp/fed29-ci-fix
(maint) Enable cron tests on Fedora 28, 29 using cronie
Diffstat (limited to 'spec/spec_helper_acceptance.rb')
-rw-r--r-- | spec/spec_helper_acceptance.rb | 4 |
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, })) |