aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-11 14:14:19 +0000
committerDamien Lallement <dams@mageia.org>2011-02-11 14:14:19 +0000
commit8cee1b72fca14f679047cf3ff90eb2adb1c2040c (patch)
tree369746a7f247c97f67331d7b30a23202aee0be1b
parent5e8a10428999c0dc8582fdc3d89ced50781888ba (diff)
downloadpuppet-8cee1b72fca14f679047cf3ff90eb2adb1c2040c.tar
puppet-8cee1b72fca14f679047cf3ff90eb2adb1c2040c.tar.gz
puppet-8cee1b72fca14f679047cf3ff90eb2adb1c2040c.tar.bz2
puppet-8cee1b72fca14f679047cf3ff90eb2adb1c2040c.tar.xz
puppet-8cee1b72fca14f679047cf3ff90eb2adb1c2040c.zip
add the creation of the user 'planet'
-rw-r--r--modules/planet/manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/planet/manifests/init.pp b/modules/planet/manifests/init.pp
index a819cc5a..519935d9 100644
--- a/modules/planet/manifests/init.pp
+++ b/modules/planet/manifests/init.pp
@@ -2,6 +2,12 @@
# - add the creation of the user 'planet' in puppet
# - add the user 'planet' to the 'apache' group (usermod -a -G apache blog)
class planet {
+ user { "planet":
+ group => 'apache',
+ commend => 'This user was created by Puppet',
+ ensure => 'present',
+ managed_home => 'false',
+ }
include apache::mod_php
apache::vhost_other_app { "planet.$domain":