Skip to content

Commit

Permalink
Add extra parameters to mod::php
Browse files Browse the repository at this point in the history
  • Loading branch information
Niek Beernink committed Mar 17, 2014
1 parent 1421244 commit 43c175f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/mod/php.pp
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
class apache::mod::php (
$package = undef,
$package_ensure = 'present',
$path = undef,
) {
if ! defined(Class['apache::mod::prefork']) {
fail('apache::mod::php requires apache::mod::prefork; please enable mpm_module => \'prefork\' on Class[\'apache\']')
}
::apache::mod { 'php5':
package => $package,
package_ensure => $package_ensure,
path => $path,
}

include ::apache::mod::mime
Expand Down

0 comments on commit 43c175f

Please sign in to comment.