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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1001 by misc, Fri Feb 11 14:34:02 2011 UTC revision 1002 by dams, Fri Feb 11 14:38:28 2011 UTC
# Line 2  Line 2 
2  # - add the user 'planet' to the 'apache' group (usermod -a -G apache blog)  # - add the user 'planet' to the 'apache' group (usermod -a -G apache blog)
3  class planet {  class planet {
4      user { "planet":      user { "planet":
5          group => apache,          groups => apache,
6          comment => "This user is used for planet.mageia.org",          comment => "This user is used for planet.mageia.org",
7          ensure => present,          ensure => present,
8          managehome => true,          managehome => true,
# Line 15  class planet { Line 15  class planet {
15    
16      file { "/var/www/html/planet.mageia.org":      file { "/var/www/html/planet.mageia.org":
17          ensure => directory,          ensure => directory,
18          owner => apache,          owner => planet,
19          group => blog,          group => planet,
20          mode => 644,          mode => 644,
21      }      }
22  }  }

Legend:
Removed from v.1001  
changed lines
  Added in v.1002

  ViewVC Help
Powered by ViewVC 1.1.30