diff options
Diffstat (limited to 'modules/blog/manifests/init.pp')
-rw-r--r-- | modules/blog/manifests/init.pp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp index f444fa21..1b602b3a 100644 --- a/modules/blog/manifests/init.pp +++ b/modules/blog/manifests/init.pp @@ -30,11 +30,14 @@ class blog { include apache::mod_php include mysql - apache::vhost_other_app { "blog-test.$domain": + + $blog_location = "/var/www/html/blog.$domain" + $blog_domain = "blog-test.$domain" + apache::vhost_other_app { "$blog_domain": vhost_file => "blog/blogs_vhosts.conf", } - file { "/var/www/html/blog.$domain": + file { "$blog_location": ensure => directory, owner => blog, # FIXME is the group created by puppet ? |