aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'],
}
}