Skip to content

Commit 2d259be

Browse files
authored
Merge pull request #57 from mhashizume/MODULES-11371/main/legacy-facts
(MODULES-11371) Updates legacy facts
2 parents 60f49af + 694fd4d commit 2d259be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def clean(agent, o = {})
5151
def setup(agent, o = {})
5252
o = { user: 'tstuser' }.merge(o)
5353
apply_manifest_on(agent, %(user { '%s': ensure => present, managehome => false }) % o[:user])
54-
apply_manifest_on(agent, %(case $operatingsystem {
54+
apply_manifest_on(agent, %(case $facts['os']['name'] {
5555
centos, redhat, fedora: {$cron = 'cronie'}
5656
solaris: { $cron = 'core-os' }
5757
default: {$cron ='cron'} }

0 commit comments

Comments
 (0)