/[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 1002 - (show annotations) (download)
Fri Feb 11 14:38:28 2011 UTC (13 years, 2 months ago) by dams
File size: 505 byte(s)
change the user/group for /var/www/planet.mageia.org
1 #TODO:
2 # - add the user 'planet' to the 'apache' group (usermod -a -G apache blog)
3 class planet {
4 user { "planet":
5 groups => apache,
6 comment => "This user is used for planet.mageia.org",
7 ensure => present,
8 managehome => true,
9 }
10
11 include apache::mod_php
12 apache::vhost_other_app { "planet.$domain":
13 vhost_file => "planet/02_planet_vhosts.conf",
14 }
15
16 file { "/var/www/html/planet.mageia.org":
17 ensure => directory,
18 owner => planet,
19 group => planet,
20 mode => 644,
21 }
22 }

  ViewVC Help
Powered by ViewVC 1.1.30