From 2fa748dcc92e34b13bd4b6f7e452ef89b29490c4 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 8 Oct 2011 19:22:40 +0200 Subject: introduce a new template style, less duplicated things, more handy options --- manifests/vhost/static.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests/vhost/static.pp') diff --git a/manifests/vhost/static.pp b/manifests/vhost/static.pp index cd5ac77..f1dbcc2 100644 --- a/manifests/vhost/static.pp +++ b/manifests/vhost/static.pp @@ -32,6 +32,7 @@ define apache::vhost::static( $ssl_mode = false, $run_mode = 'normal', $vhost_mode = 'template', + $template_partial = 'apache/vhosts/static/partial.erb', $vhost_source = 'absent', $vhost_destination = 'absent', $htpasswd_file = 'absent', @@ -57,7 +58,7 @@ define apache::vhost::static( ::apache::vhost{$name: ensure => $ensure, path => $path, - template_partial => 'apache/vhosts/static/partial.erb', + template_partial => $template_partial, vhost_mode => $vhost_mode, vhost_source => $vhost_source, vhost_destination => $vhost_destination, -- cgit v1.2.3