aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-mirrors/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mga-mirrors/manifests/init.pp')
-rw-r--r--modules/mga-mirrors/manifests/init.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp
index 0da8832d..96a4fa7e 100644
--- a/modules/mga-mirrors/manifests/init.pp
+++ b/modules/mga-mirrors/manifests/init.pp
@@ -1,4 +1,6 @@
class mga-mirrors {
+
+ $vhost = "mirrors.$domain"
include apache::mod_fcgid
@@ -7,8 +9,8 @@ class mga-mirrors {
}
# add a apache vhost
- file { "mirrors.$domain.conf":
- path => "/etc/httpd/conf/vhosts.d/$name.$domain.conf",
+ file { "$vhost.conf":
+ path => "/etc/httpd/conf/vhosts.d/$vhost.conf",
ensure => "present",
owner => root,
group => root,