Puppet: Require php in phpd not vice versa

refs #9453
This commit is contained in:
Eric Lippmann 2015-07-31 16:23:22 +02:00
parent cc1b26be0c
commit df38e127e1
2 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,5 @@ class php {
require => Package['apache'],
}
php::phpd { ['error_reporting', 'timezone', 'xdebug_settings' ]:
require => Package['php'],
}
php::phpd { ['error_reporting', 'timezone', 'xdebug_settings' ]: }
}

View File

@ -17,5 +17,6 @@ define php::phpd {
file { "/etc/php.d/$name.ini":
content => template("php/$name.ini.erb"),
notify => Service['apache'],
require => Package['php'],
}
}