aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-11 14:59:26 +0000
committerMichael Scherer <misc@mageia.org>2011-02-11 14:59:26 +0000
commit336edb648fe33b9e63471f5c458e982f46e786fc (patch)
treefcd35c49e891af6673f2dc6dc29deaaae416937b /modules/planet
parente09d31b4237bc4c9c6f50b9eb896b65c62ee5262 (diff)
downloadpuppet-336edb648fe33b9e63471f5c458e982f46e786fc.tar
puppet-336edb648fe33b9e63471f5c458e982f46e786fc.tar.gz
puppet-336edb648fe33b9e63471f5c458e982f46e786fc.tar.bz2
puppet-336edb648fe33b9e63471f5c458e982f46e786fc.tar.xz
puppet-336edb648fe33b9e63471f5c458e982f46e786fc.zip
- remove TODO list as it was fullfiled
- do not hardcode the domain name
Diffstat (limited to 'modules/planet')
-rw-r--r--modules/planet/manifests/init.pp6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/planet/manifests/init.pp b/modules/planet/manifests/init.pp
index 7387f50d..e07d03bf 100644
--- a/modules/planet/manifests/init.pp
+++ b/modules/planet/manifests/init.pp
@@ -1,9 +1,7 @@
-#TODO:
-# - add the user 'planet' to the 'apache' group (usermod -a -G apache blog)
class planet {
user { "planet":
groups => apache,
- comment => "This user is used for planet.mageia.org",
+ comment => "This user is used for planet",
ensure => present,
managehome => true,
}
@@ -13,7 +11,7 @@ class planet {
vhost_file => "planet/02_planet_vhosts.conf",
}
- file { "/var/www/html/planet.mageia.org":
+ file { "/var/www/html/planet.$domain":
ensure => directory,
owner => planet,
group => planet,