/[adm]/puppet/modules/planet/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/planet/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1020 - (show annotations) (download)
Fri Feb 11 18:09:26 2011 UTC (13 years, 2 months ago) by dams
File size: 503 byte(s)
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