puppet-php
puppet-php copied to clipboard
php.ini variables doesn't work using dwim method
php::config losses default $inifile value when calling from php::fpm::config
looks like
include ::php
cause $inifile gets empty after line 44 of manifests/config.pp.
it's working fine when file is defined ie.
php::fpm::config { 'display_errors':
file => '/etc/php5/fpm/php.ini',
setting => 'display_errors',
value => 'On'
}
Can you check this one out @igalic ? :)
Strange, I thought I had tested for exactly that, from what I gather from my test: https://github.com/jippi/puppet-php/blob/master/spec/defines/fpm_config_spec.rb#L4-L6 you should probably only include php::fpm
@wojtek-alef bump?
looks like it's working when changing include
This, right now, is due to the cascade of inheritances, I believe.
I'm not sure how to properly fix it, though