]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Requirement fixes
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Oct 2015 18:55:04 +0000 (15:55 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Oct 2015 18:55:04 +0000 (15:55 -0300)
manifests/site.pp

index 6db5de5649f882c5d62d66231fd77bd7b3ba8bb1..727e148c7ff2a3ae0acd644d241170c4b3ab6b99 100644 (file)
@@ -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"],
       }