From 1c17b93447c99452242d4bed17aebb1dcd64b156 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Fri, 4 Mar 2016 14:05:23 -0800 Subject: [PATCH] Fix apache failure Since the infracloud::logs class was added, fresh installs suffer from a bug causing puppet to fail trying to check apache syntax in the middle of a run[1]. This patch is a temporary fix while we wait for the upstream apache module to be fixed. [1] https://github.com/puppetlabs/puppetlabs-apache/pull/1388 Change-Id: I558756e4704d3b3e090db92edfeca6f75def1e04 --- manifests/logs.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifests/logs.pp b/manifests/logs.pp index d1073f3..bbd4ed8 100644 --- a/manifests/logs.pp +++ b/manifests/logs.pp @@ -35,4 +35,7 @@ class infracloud::logs( ensure => present, content => template('infracloud/logs.vhost.erb'), } + + # Temporary workaround until https://github.com/puppetlabs/puppetlabs-apache/pull/1388 is merged and released + File[$::apache::mod_enable_dir] -> Exec["syntax verification for ${vhost_name}"] }