aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-08 13:53:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-08 13:53:42 -0300
commit94f4dcad2545d4073e8548d4f206902aa7322f69 (patch)
tree86f405dcd649a0e72bb2f39b4d350cff502ba0b9 /manifests
parent41d01994d0a1ef58e95ef914d540587b17eb5976 (diff)
downloadpuppet-php-94f4dcad2545d4073e8548d4f206902aa7322f69.tar.gz
puppet-php-94f4dcad2545d4073e8548d4f206902aa7322f69.tar.bz2
Config dependencies
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp24
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'],
}
}