php.pp #1

  • //
  • main/
  • guest/
  • matt_attaway/
  • webkeeper/
  • manifests/
  • modules/
  • apache/
  • manifests/
  • mod/
  • php.pp
  • View
  • Commits
  • Open Download .zip Download (546 B)
class apache::mod::php {
  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': }
  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'],
  }
}
# Change User Description Committed
#1 8433 Matt Attaway Test environement for working with Webkeeper using vagrant.
Just sync and type 'vagrant up'