aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/manifests/init.pp
blob: a819cc5a2796503de931348f8f0956cf3222b0d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#TODO: 
# - add the creation of the user 'planet' in puppet
# - add the user 'planet' to the 'apache' group (usermod -a -G apache blog)
class planet {
    include apache::mod_php

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

    file { "/var/www/html/planet.mageia.org":
	ensure => directory,
	owner => apache,
	group => blog,
	mode => 644,
    }
}