From a714ff1e6b8c71a8b5d2a9fd82ebfe88a0e57ccf Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 2 Oct 2015 15:55:04 -0300 Subject: Requirement fixes --- manifests/site.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/site.pp b/manifests/site.pp index 6db5de5..727e148 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -191,7 +191,7 @@ define apache::site( }, unless => "/bin/sh -c '[ -L ${apache::sites}-enabled/$vhost.conf ] \ && [ ${apache::sites}-enabled/$vhost.conf -ef ${apache::sites}-available/$vhost.conf ]'", - require => "${apache::sites}-available/$vhost.conf", + require => File["${apache::sites}-available/$vhost.conf"], notify => Exec["reload-apache2"], } } @@ -203,7 +203,7 @@ define apache::site( }, onlyif => "/bin/sh -c '[ -L ${apache::sites}-enabled/$vhost.conf ] \ && [ ${apache::sites}-enabled/$vhost.conf -ef ${apache::sites}-available/$vhost.conf ]'", - require => "${apache::sites}-available/$vhost.conf", + require => File["${apache::sites}-available/$vhost.conf"], notify => Exec["reload-apache2"], } -- cgit v1.2.3