diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-10-04 17:13:41 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-10-04 17:13:41 +0000 |
commit | 26e847e13d2db1e06d3e647d309023554862b2cb (patch) | |
tree | 4b1866a2eb6550fe0b1bc9899be4cb22cde3a048 /modules | |
parent | 1b5e1079510a28662049415b705f61be492db350 (diff) | |
download | puppet-26e847e13d2db1e06d3e647d309023554862b2cb.tar puppet-26e847e13d2db1e06d3e647d309023554862b2cb.tar.gz puppet-26e847e13d2db1e06d3e647d309023554862b2cb.tar.bz2 puppet-26e847e13d2db1e06d3e647d309023554862b2cb.tar.xz puppet-26e847e13d2db1e06d3e647d309023554862b2cb.zip |
change permission on maintdb dir
Diffstat (limited to 'modules')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 81b04636..b8def670 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -172,11 +172,19 @@ class buildsystem { home => "$maintdb_homedir", } + file { "$maintdb_homedir": + ensure => directory, + owner => "$maintdb_login", + group => "$maintdb_login", + mode => 711, + require => User["$maintdb_login"], + } + file { "$maintdb_dbdir": ensure => directory, owner => "$maintdb_login", group => "$maintdb_login", - mode => 700, + mode => 711, require => User["$maintdb_login"], } |