Puppet Class: php::apache
- Inherits:
- php::apache::params
- Defined in:
- manifests/apache.pp
Overview
Class: php::apache
Install and configure mod_php for apache
Parameters
- ensure
-
The ensure of the apache package to install Could be “latest”, “installed” or a pinned verison
- package
-
The package name for apache package For debian it’s php5-apache
- provider
-
The provider used to install php5-apache Could be “pecl”, “apt” or any other OS package provider
- inifile
-
The path to the ini php5-apache ini file
- settings
-
Hash with ‘set’ nested hash of key => value set changes to agues when applied to inifile
Variables
No variables
Examples
include php::apache
Authors
Christian “Jippi” Winther <jippignu@gmail.com>
Copyright
Copyright 2012-2013 Christian “Jippi” Winther, unless otherwise noted.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'manifests/apache.pp', line 42
class php::apache(
$ensure = $php::apache::params::ensure,
$package = $php::apache::params::package,
$provider = $php::apache::params::provider,
$inifile = $php::apache::params::inifile,
$settings = $php::apache::params::settings,
$service_name = $php::apache::params::service_name
) inherits php::apache::params {
php::contrib::base_package { 'apache':
ensure => $ensure,
provider => $provider;
}
package { $package:
ensure => $ensure,
provider => $provider;
}
php::apache::config { 'php-apache':
file => $inifile,
config => $settings
}
}
|