Puppet Class: php::cli
- Inherits:
- ::php::params
- Defined in:
- manifests/cli.pp
Overview
Install and configure php CLI
Parameters
- inifile
-
The path to the ini php5-cli ini file
- settings
-
Hash with nested hash of key => value to set in inifile
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'manifests/cli.pp', line 11
class php::cli(
$inifile = $::php::params::cli_inifile,
$settings = {}
) inherits ::php::params {
if $caller_module_name != $module_name {
warning('php::cli is private')
}
validate_absolute_path($inifile)
validate_hash($settings)
$real_settings = deep_merge($settings, hiera_hash('php::cli::settings', {}))
::php::config { 'cli':
file => $inifile,
config => $real_settings,
}
}
|