blob: 8d08ec46c3f39abfbb91989574cb875e00b6ef7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
class planet {
user { "planet":
groups => apache,
comment => "This user is used for planet",
ensure => present,
managehome => true,
}
include apache::mod_php
include apache::mod_deflate
apache::vhost_other_app { "planet.$domain":
vhost_file => "planet/02_planet_vhosts.conf",
}
file { "/var/www/html/planet.$domain":
ensure => directory,
owner => planet,
group => planet,
mode => 644,
}
package { ['php-iconv']:
ensure => installed
}
}
|