/[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 1094 - (show annotations) (download)
Wed Feb 16 01:26:38 2011 UTC (13 years, 1 month ago) by dams
File size: 677 byte(s)
typo after renaming vhosts.conf
1 class planet {
2
3 user { "planet":
4 groups => apache,
5 comment => "User running cronjob and deploying planet software",
6 ensure => present,
7 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
15 include apache::mod_deflate
16 apache::vhost_base { "$planet_domain":
17 location => $planet_location,
18 content => template('planet/planet_vhosts.conf')
19 }
20
21 file { "/var/www/html/planet.$domain":
22 ensure => directory,
23 owner => planet,
24 group => planet,
25 mode => 644,
26 }
27
28 package { ['php-iconv']:
29 ensure => installed
30 }
31 }

  ViewVC Help
Powered by ViewVC 1.1.30