aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog/manifests')
-rw-r--r--modules/blog/manifests/init.pp13
1 files changed, 11 insertions, 2 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp
index c430912f..893ee82d 100644
--- a/modules/blog/manifests/init.pp
+++ b/modules/blog/manifests/init.pp
@@ -33,8 +33,17 @@ class blog {
$blog_location = "/var/www/html/blog.$domain"
$blog_domain = "blog-test.$domain"
- apache::vhost_other_app { "$blog_domain":
- vhost_file => "blog/blogs_vhosts.conf",
+
+ apache::vhost_base { "$blog_domain":
+ location => $blog_location,
+ content => template('blog/blogs_vhosts.conf'),
+ }
+
+ apache::vhost_base { "ssl_$blog_domain":
+ use_ssl => true,
+ vhost => $blog_domain,
+ location => $blog_location,
+ content => template('blog/blogs_vhosts.conf'),
}
file { "$blog_location":