summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-02 15:55:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-10-02 15:55:04 -0300
commita714ff1e6b8c71a8b5d2a9fd82ebfe88a0e57ccf (patch)
treed98424b467d0084bb51c6f7fa7b7bad816e4a508
parent5683bbf31bc3d4124ee6792c7fecbcd125b31af6 (diff)
downloadpuppet-apache-a714ff1e6b8c71a8b5d2a9fd82ebfe88a0e57ccf.tar.gz
puppet-apache-a714ff1e6b8c71a8b5d2a9fd82ebfe88a0e57ccf.tar.bz2
Requirement fixes
-rw-r--r--manifests/site.pp4
1 files changed, 2 insertions, 2 deletions
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"],
}