aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-04 17:13:41 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-04 17:13:41 +0000
commit26e847e13d2db1e06d3e647d309023554862b2cb (patch)
tree4b1866a2eb6550fe0b1bc9899be4cb22cde3a048 /modules
parent1b5e1079510a28662049415b705f61be492db350 (diff)
downloadpuppet-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.pp10
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"],
}