Sha256: bb1a650adbdb997908466cc8ed5a4e2e30d47c37261c8829c570df33897146b4
Contents?: true
Size: 766 Bytes
Versions: 11
Compression:
Stored size: 766 Bytes
Contents
class apache::mod::php ( $package_ensure = 'present', ) { 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_ensure => $package_ensure, } include apache::mod::mime include apache::mod::dir Class['apache::mod::mime'] -> Class['apache::mod::dir'] -> Class['apache::mod::php'] file { 'php5.conf': ensure => file, path => "${apache::mod_dir}/php5.conf", content => template('apache/mod/php5.conf.erb'), require => [ Class['apache::mod::prefork'], Exec["mkdir ${apache::mod_dir}"], ], before => File[$apache::mod_dir], notify => Service['httpd'], } }
Version data entries
11 entries across 11 versions & 1 rubygems