aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/manifests/init.pp
blob: bf46b43624c0e9991e68569184574fe6e0e2be03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class planet {
    user { "planet":
	groups => apache,
	comment => "User running cronjob and deploying planet software",
	ensure => present,
	managehome => true,
    }

    include apache::mod_php
    include apache::mod_deflate
    apache::vhost_other_app { "planet.$domain":
        vhost_file => "planet/02_planet_vhosts.conf",
    }

    file { "/var/www/html/planet.$domain":
	ensure => directory,
	owner => planet,
	group => planet,
	mode => 644,
    }

    package { ['php-iconv']:
        ensure => installed
    }
}