aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/manifests
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-11 14:38:28 +0000
committerDamien Lallement <dams@mageia.org>2011-02-11 14:38:28 +0000
commite09d31b4237bc4c9c6f50b9eb896b65c62ee5262 (patch)
tree581362e0f9fb525ba3cb99531d8e60ead6899d3a /modules/planet/manifests
parent7c4ec6bdfffb3a5adb51a1341ec0129080e66aa0 (diff)
downloadpuppet-e09d31b4237bc4c9c6f50b9eb896b65c62ee5262.tar
puppet-e09d31b4237bc4c9c6f50b9eb896b65c62ee5262.tar.gz
puppet-e09d31b4237bc4c9c6f50b9eb896b65c62ee5262.tar.bz2
puppet-e09d31b4237bc4c9c6f50b9eb896b65c62ee5262.tar.xz
puppet-e09d31b4237bc4c9c6f50b9eb896b65c62ee5262.zip
change the user/group for /var/www/planet.mageia.org
Diffstat (limited to 'modules/planet/manifests')
-rw-r--r--modules/planet/manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/planet/manifests/init.pp b/modules/planet/manifests/init.pp
index 8d1ea2b8..7387f50d 100644
--- a/modules/planet/manifests/init.pp
+++ b/modules/planet/manifests/init.pp
@@ -2,7 +2,7 @@
# - add the user 'planet' to the 'apache' group (usermod -a -G apache blog)
class planet {
user { "planet":
- group => apache,
+ groups => apache,
comment => "This user is used for planet.mageia.org",
ensure => present,
managehome => true,
@@ -15,8 +15,8 @@ class planet {
file { "/var/www/html/planet.mageia.org":
ensure => directory,
- owner => apache,
- group => blog,
+ owner => planet,
+ group => planet,
mode => 644,
}
}