diff options
| author | Damien Lallement <dams@mageia.org> | 2011-01-28 12:38:13 +0000 | 
|---|---|---|
| committer | Damien Lallement <dams@mageia.org> | 2011-01-28 12:38:13 +0000 | 
| commit | 2d81c4e078ffc9ab116b79d39b7b1e928eae8ccd (patch) | |
| tree | bdbd766c5072de2c3ba3d9102dd53a63e8a477b3 | |
| parent | 19553371bbdc91dbeb6ec2aeb1b2b329013da245 (diff) | |
| download | puppet-2d81c4e078ffc9ab116b79d39b7b1e928eae8ccd.tar puppet-2d81c4e078ffc9ab116b79d39b7b1e928eae8ccd.tar.gz puppet-2d81c4e078ffc9ab116b79d39b7b1e928eae8ccd.tar.bz2 puppet-2d81c4e078ffc9ab116b79d39b7b1e928eae8ccd.tar.xz puppet-2d81c4e078ffc9ab116b79d39b7b1e928eae8ccd.zip | |
starting planet installation
| -rw-r--r-- | modules/planet/manifests/init.pp | 17 | 
1 files changed, 17 insertions, 0 deletions
| 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, +    } +} | 
