From 26e847e13d2db1e06d3e647d309023554862b2cb Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 4 Oct 2011 17:13:41 +0000 Subject: change permission on maintdb dir --- modules/buildsystem/manifests/init.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/buildsystem/manifests/init.pp') 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"], } -- cgit v1.2.1