Puppet Class: php::global

Inherits:
php
Defined in:
manifests/global.pp

Overview

Parameters:

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


14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'manifests/global.pp', line 14

class php::global (
  Stdlib::Absolutepath $inifile = $php::config_root_inifile,
  Hash $settings                = {}
) inherits php {
  assert_private()

  # No deep merging required since the settings we have are the global settings.
  $real_settings = $settings

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