Mercurial > repos > other > Puppet
view modules/php/manifests/config.pp @ 478:adf6fe9bbc17
Update Puppet modules to latest versions
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 29 Aug 2024 18:47:29 +0100 |
parents | 3fce34f642f1 |
children |
line wrap: on
line source
# Configure php.ini settings for a PHP SAPI # # === Parameters # # [*file*] # The path to ini file # # [*config*] # Nested hash of key => value to apply to php.ini # # === Examples # # php::config { '$unique-name': # file => '$full_path_to_ini_file' # config => { # {'Date/date.timezone' => 'Europe/Berlin'} # } # } # define php::config ( Stdlib::Absolutepath $file, Hash $config ) { if $caller_module_name != $module_name { warning('php::config is private') } create_resources(::php::config::setting,to_hash_settings($config, $file), { file => $file }) }