correct tasks error
authorymh <ymh.work@gmail.com>
Fri, 15 Jan 2016 16:32:33 +0100
changeset 30 7ca52d7235ed
parent 29 50702e620af4
child 31 3e93c61f6be0
correct tasks error
dev/provisioning/modules/sysconfig/manifests/php.pp
--- a/dev/provisioning/modules/sysconfig/manifests/php.pp	Fri Jan 15 16:06:58 2016 +0100
+++ b/dev/provisioning/modules/sysconfig/manifests/php.pp	Fri Jan 15 16:32:33 2016 +0100
@@ -22,7 +22,8 @@
     file { '/var/log/php':
         ensure => directory,
         owner => 'apache',
-        group => 'apache'
+        group => 'apache',
+        require => Package["httpd"]
     }
 
     augeas { "php_ini/memory_limit":
@@ -58,7 +59,8 @@
         mode   => 440,
         owner  => 'apache',
         group  => 'apache',
-        source => "puppet:///modules/sysconfig/phpinfo.php"
+        source => "puppet:///modules/sysconfig/phpinfo.php",
+        require => Package["httpd"]
     }
 
 }