# HG changeset patch # User IBBoard # Date 1425859024 0 # Node ID ccca5d75111f9247431b5d7e20af3967088e5149 # Parent 7411baa55c01c5688fb99cfca341f3e8900990f2 Fix ordering of packages vs files so that config files go in afterwards diff -r 7411baa55c01 -r ccca5d75111f modules/website/manifests/php.pp --- a/modules/website/manifests/php.pp Sun Mar 08 23:56:35 2015 +0000 +++ b/modules/website/manifests/php.pp Sun Mar 08 23:57:04 2015 +0000 @@ -8,16 +8,15 @@ Package { notify => Service['httpd'], } + Package <| |> -> File <| |> $packages = [ "php${suffix}", "php${suffix}-mcrypt", "php${suffix}-mbstring", "php${suffix}-xml", "php${suffix}-gd" ] package { $packages: ensure => latest, } - -> file { '/etc/php.d/custom-lockdown.ini': ensure => present, content => 'allow_url_fopen = \'off\'', } - -> file { '/etc/php.d/custom-php.ini': ensure => present, content => 'default_charset = \'UTF-8\'', @@ -27,6 +26,7 @@ package { "php${suffix}-${opcache}": ensure => latest, notify => Service['httpd'], + require => Package["php${suffix}"], } file { '/etc/php.d/opcache.ini': ensure => present,