From 2d81c4e078ffc9ab116b79d39b7b1e928eae8ccd Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Fri, 28 Jan 2011 12:38:13 +0000 Subject: starting planet installation --- modules/planet/manifests/init.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/planet/manifests/init.pp (limited to 'modules') diff --git a/modules/planet/manifests/init.pp b/modules/planet/manifests/init.pp new file mode 100644 index 00000000..813fa6d7 --- /dev/null +++ b/modules/planet/manifests/init.pp @@ -0,0 +1,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 blog { + 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, + } +} -- cgit v1.2.1