From 9903469495e45015527487b984bdab7cc6667a13 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 16 Mar 2015 10:27:00 -0400 Subject: [PATCH] Pass vhost_name in to apache::vhost It turns out that the name parameter of the call does not set the vhost_name variable. Change-Id: If29750c98abfc292c659c3fdbd32a77c38ef9e1e --- manifests/init.pp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 262f394..d4bad2b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -371,11 +371,12 @@ class zuul ( } apache::vhost { $vhost_name: - port => 443, # Is required despite not being used. - docroot => 'MEANINGLESS ARGUMENT', - priority => '50', - ssl => $ssl, - template => 'zuul/zuul.vhost.erb', + port => 443, # Is required despite not being used. + docroot => 'MEANINGLESS ARGUMENT', + priority => '50', + ssl => $ssl, + template => 'zuul/zuul.vhost.erb', + vhost_name => $vhost_name, } if ! defined(A2mod['rewrite']) { a2mod { 'rewrite':