diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-17 11:27:13 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-17 11:27:13 +0000 |
commit | f4852f813b102a67f120869a4658ce80d8100a5c (patch) | |
tree | 032c3ee087827cdafcf4292e010291b9933fdc4b /modules/bcd | |
parent | ce02557eb0dc7d81621d576d94878c5cba267b18 (diff) | |
download | puppet-f4852f813b102a67f120869a4658ce80d8100a5c.tar puppet-f4852f813b102a67f120869a4658ce80d8100a5c.tar.gz puppet-f4852f813b102a67f120869a4658ce80d8100a5c.tar.bz2 puppet-f4852f813b102a67f120869a4658ce80d8100a5c.tar.xz puppet-f4852f813b102a67f120869a4658ce80d8100a5c.zip |
refactor directory creation
Diffstat (limited to 'modules/bcd')
-rw-r--r-- | modules/bcd/manifests/base.pp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/bcd/manifests/base.pp b/modules/bcd/manifests/base.pp index c68f5b83..df6669bc 100644 --- a/modules/bcd/manifests/base.pp +++ b/modules/bcd/manifests/base.pp @@ -10,7 +10,7 @@ class bcd::base { comment => 'User for creating ISOs', } - file { $bcd::public_isos: + file { [$bcd::public_isos, '/var/lib/bcd']: ensure => directory, owner => $bcd::login, group => $bcd::login, @@ -24,12 +24,4 @@ class bcd::base { sudo::sudoers_config { 'bcd': content => template('bcd/sudoers.bcd') } - - file { '/var/lib/bcd': - ensure => directory, - owner => $bcd::login, - group => $bcd::login, - mode => '0755', - } } - |