Puppet Class: php::params

Inherited by:
php::fpm::params
php::phpunit::params
Defined in:
manifests/params.pp

Overview

Class: php::params

PHP params class

Configuration class for php module

Parameters

No parameters

Variables

ensure

The PHP ensure of PHP to install

Examples

include php::dev

Authors

Christian “Jippi” Winther <jippignu@gmail.com>

Copyright 2012-2013 Christian “Jippi” Winther, unless otherwise noted.



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'manifests/params.pp', line 28

class php::params {

  $ensure = 'installed'

  $config_root = '/etc/php5'

  if $::php_version == '' or versioncmp($::php_version, '5.4') >= 0 {
    $config_root_ini = "${::php::params::config_root}/mods-available"
  } else {
    $config_root_ini = "${::php::params::config_root}/conf.d"
  }

  $augeas_contrib_dir = '/usr/share/augeas/lenses/contrib'

}