From fdc749a0cda6859c5d011cafcf3b915444b67d50 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 20 Sep 2011 16:45:23 -0300 Subject: Allowing per-domain vhost source --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index 95dc155..e15eefa 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -188,7 +188,8 @@ class apache { true: { file { "${apache2_sites}-available/$vhost": ensure => $ensure, - source => "puppet:///modules/site-apache/vhosts/$title", + source => [ "puppet:///modules/site-apache/vhosts/$domain/$title", + "puppet:///modules/site-apache/vhosts/$title" ] owner => root, group => root, mode => 0644, -- cgit v1.2.3