diff modules/website/manifests/php.pp @ 32:6bbc86f6cee5 puppet-3.6

Tidy up ordering and dependencies (including making sure we have a necessary file for Fail2Ban to start)
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Mar 2015 19:33:06 +0000
parents ccca5d75111f
children 33682e5b34fc
line wrap: on
line diff
--- a/modules/website/manifests/php.pp	Sat Mar 14 19:32:15 2015 +0000
+++ b/modules/website/manifests/php.pp	Sat Mar 14 19:33:06 2015 +0000
@@ -4,11 +4,13 @@
     ) {
   File {
       notify => Service['httpd'],
+      tag => 'website',
   }
   Package {
       notify => Service['httpd'],
+      tag => 'website',
   }
-  Package <| |> -> File <| |>
+  Package <| tag == 'website' |> -> File <| tag == 'website' |>
   $packages = [ "php${suffix}", "php${suffix}-mcrypt", "php${suffix}-mbstring", "php${suffix}-xml", "php${suffix}-gd" ]
   package { $packages:
     ensure => latest,