diff options
author | Damien Lallement <dams@mageia.org> | 2011-01-18 16:59:26 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2011-01-18 16:59:26 +0000 |
commit | 09899cd0aa4e725b36283a9f495ec3abbdf2e115 (patch) | |
tree | 8032221586e3bc9b79c64e9bc0b755e904d07648 | |
parent | db9f37b4915ead275f11be3fab2520bec0add6ec (diff) | |
download | puppet-09899cd0aa4e725b36283a9f495ec3abbdf2e115.tar puppet-09899cd0aa4e725b36283a9f495ec3abbdf2e115.tar.gz puppet-09899cd0aa4e725b36283a9f495ec3abbdf2e115.tar.bz2 puppet-09899cd0aa4e725b36283a9f495ec3abbdf2e115.tar.xz puppet-09899cd0aa4e725b36283a9f495ec3abbdf2e115.zip |
add the vhost for blogs
-rw-r--r-- | modules/blog/manifests/init.pp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp index 2318b3cf..4efe58de 100644 --- a/modules/blog/manifests/init.pp +++ b/modules/blog/manifests/init.pp @@ -8,7 +8,7 @@ class blog { ensure => installed } - file { "check_new-blog-post": + file { "check_new-blog-post": path => "/usr/local/bin/check_new-blog-post.sh", ensure => present, owner => blog, @@ -17,6 +17,15 @@ class blog { content => template("blog/check_new-blog-post.sh") } + file { "01_blogs_vhosts.conf": + path => "/etc/httpd/conf/vhosts.d/", + ensure => present, + owner => root, + group => root, + mode => 644, + content => template("blog/01_blogs_vhosts.conf") + } + file { "/var/lib/blog": ensure => directory, owner => blog, |