/[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 1022 by misc, Fri Feb 11 18:19:46 2011 UTC revision 1093 by dams, Wed Feb 16 01:23:38 2011 UTC
# Line 1  Line 1 
1  class planet {  class planet {
2    
3      user { "planet":      user { "planet":
4          groups => apache,          groups => apache,
5          comment => "User running cronjob and deploying planet software",          comment => "User running cronjob and deploying planet software",
6          ensure => present,          ensure => present,
7          managehome => true,          managehome => true,
8            home => "/var/lib/planet",
9      }      }
10    
11        $planet_location = "/var/www/html/planet.$domain"
12        $planet_domain = "planet.$domain"
13            
14      include apache::mod_php      include apache::mod_php
15      include apache::mod_deflate      include apache::mod_deflate
16      apache::vhost_other_app { "planet.$domain":      apache::vhost_base { "$planet_domain":
17          vhost_file => "planet/02_planet_vhosts.conf",          location => $planet_location,
18            content => template('planet/02_planet_vhosts.conf')
19      }      }
20    
21      file { "/var/www/html/planet.$domain":      file { "/var/www/html/planet.$domain":

Legend:
Removed from v.1022  
changed lines
  Added in v.1093

  ViewVC Help
Powered by ViewVC 1.1.30