diff options
-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, |