#TODO: # - add the user 'planet' to the 'apache' group (usermod -a -G apache blog) class planet { user { "planet": groups => apache, comment => "This user is used for planet.mageia.org", ensure => present, managehome => true, } 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 => planet, group => planet, mode => 644, } }