Puppet Class: php::apache_config

Inherits:
php::params
Defined in:
manifests/apache_config.pp

Overview

Install and configure php apache settings

Parameters

inifile

The path to the ini php-apache ini file

settings

Hash with nested hash of key => value to set in inifile

Parameters:

  • inifile (Stdlib::Absolutepath) (defaults to: $php::params::apache_inifile)
  • settings (Hash) (defaults to: {})


11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/apache_config.pp', line 11

class php::apache_config (
  Stdlib::Absolutepath $inifile = $php::params::apache_inifile,
  Hash $settings                = {}
) inherits php::params {
  assert_private()

  $real_settings = lookup('php::apache::settings', Hash, { 'strategy' => 'deep', 'merge_hash_arrays' => true }, $settings)

  php::config { 'apache':
    file   => $inifile,
    config => $real_settings,
  }
}