Parent Directory | Revision Log
add php-iconv and change apache-mod_deflate with a class in apache module
1 | class planet { |
2 | user { "planet": |
3 | groups => apache, |
4 | comment => "This user is used for planet", |
5 | ensure => present, |
6 | managehome => true, |
7 | } |
8 | |
9 | include apache::mod_php |
10 | include apache::mod_deflate |
11 | apache::vhost_other_app { "planet.$domain": |
12 | vhost_file => "planet/02_planet_vhosts.conf", |
13 | } |
14 | |
15 | file { "/var/www/html/planet.$domain": |
16 | ensure => directory, |
17 | owner => planet, |
18 | group => planet, |
19 | mode => 644, |
20 | } |
21 | |
22 | package { ['php-iconv']: |
23 | ensure => installed |
24 | } |
25 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |