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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 996 - (hide annotations) (download)
Fri Feb 11 14:21:51 2011 UTC (13 years, 2 months ago) by dams
File size: 567 byte(s)
typo and comment about user
1 dams 909 #TODO:
2     # - add the creation of the user 'planet' in puppet
3     # - add the user 'planet' to the 'apache' group (usermod -a -G apache blog)
4 dams 911 class planet {
5 dams 993 user { "planet":
6 dams 994 groups => 'apache',
7 dams 996 comment => 'This user is used for planet.mageia.org',
8 dams 993 ensure => 'present',
9 dams 996 managed_homedir => 'false',
10 dams 993 }
11 dams 909 include apache::mod_php
12    
13     apache::vhost_other_app { "planet.$domain":
14     vhost_file => "planet/02_planet_vhosts.conf",
15     }
16    
17     file { "/var/www/html/planet.mageia.org":
18     ensure => directory,
19     owner => apache,
20     group => blog,
21     mode => 644,
22     }
23     }

  ViewVC Help
Powered by ViewVC 1.1.30