diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-08 13:53:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-08 13:53:42 -0300 |
commit | 94f4dcad2545d4073e8548d4f206902aa7322f69 (patch) | |
tree | 86f405dcd649a0e72bb2f39b4d350cff502ba0b9 /manifests | |
parent | 41d01994d0a1ef58e95ef914d540587b17eb5976 (diff) | |
download | puppet-php-94f4dcad2545d4073e8548d4f206902aa7322f69.tar.gz puppet-php-94f4dcad2545d4073e8548d4f206902aa7322f69.tar.bz2 |
Config dependencies
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 0a2a0af..6dd5d87 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -30,20 +30,22 @@ class php { } file { "/etc/php5/cli/php.ini": - ensure => present, - owner => root, - group => root, - mode => 0644, - source => "puppet://$server/modules/php/cli/php.ini", + ensure => present, + owner => root, + group => root, + mode => 0644, + source => "puppet://$server/modules/php/cli/php.ini", + require => Package['php5'], } file { "/etc/php5/apache2/php.ini": - ensure => present, - owner => root, - group => root, - mode => 0644, - source => "puppet://$server/modules/php/apache2/php.ini", - notify => Service['apache2'], + ensure => present, + owner => root, + group => root, + mode => 0644, + source => "puppet://$server/modules/php/apache2/php.ini", + notify => Service['apache2'], + require => Package['php5'], } } |