diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/blog/manifests/init.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp index 76c7e87f..ce4140b3 100644 --- a/modules/blog/manifests/init.pp +++ b/modules/blog/manifests/init.pp @@ -1,6 +1,9 @@ class blog { class base { + $blog_location = "/var/www/vhosts/blog.$domain" + $blog_domain = "blog.$domain" + user { "blog": groups => apache, comment => "Mageia Blog", @@ -33,9 +36,6 @@ class blog { include apache::mod_php - $blog_location = "/var/www/vhosts/blog.$domain" - $blog_domain = "blog.$domain" - apache::vhost_base { "$blog_domain": location => $blog_location, content => template('blog/blogs_vhosts.conf'), |