2 |
# - add the creation of the user 'planet' in puppet |
# - add the creation of the user 'planet' in puppet |
3 |
# - add the user 'planet' to the 'apache' group (usermod -a -G apache blog) |
# - add the user 'planet' to the 'apache' group (usermod -a -G apache blog) |
4 |
class planet { |
class planet { |
5 |
|
user { "planet": |
6 |
|
group => 'apache', |
7 |
|
commend => 'This user was created by Puppet', |
8 |
|
ensure => 'present', |
9 |
|
managed_home => 'false', |
10 |
|
} |
11 |
include apache::mod_php |
include apache::mod_php |
12 |
|
|
13 |
apache::vhost_other_app { "planet.$domain": |
apache::vhost_other_app { "planet.$domain": |