Skip to content

Commit abc6362

Browse files
committed
Create dependent directory for sudoers so tests work on Centos 5
Signed-off-by: Ken Barber <[email protected]>
1 parent cd31c71 commit abc6362

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spec/system/base.pp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
gid => 'puppet',
2626
}
2727

28+
file { '/etc/sudoers.d':
29+
ensure => directory,
30+
mode => '0750',
31+
owner => root,
32+
group => root,
33+
}
34+
2835
file {'/etc/sudoers.d/puppet_postgresql_tests':
2936
ensure => file,
3037
content => 'vagrant ALL=(ALL) ALL',

0 commit comments

Comments
 (0)