You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module starts FPM service every puppet run. Unable to unset the ensure parameter for the php fpm service. I use corosync/pacemaker to manage this service and sometimes it's running and sometimes it's not.
What behaviour did you expect instead
FPM service should not start
Output log
Notice: /Stage[main]/Php::Fpm::Service/Service[php74-php-fpm]/ensure: ensure changed 'stopped' to 'running' (corrective)
Any additional information you'd like to impart
The php::fpm_service_enable setting works but the php::fpm_service_ensure always is overwritten with the default of "running".
The text was updated successfully, but these errors were encountered:
I made a fork and used lookup() to use hiera as the default and use the params if it's not present. But your solution would work, I didn't think of that. Thanks!
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Hiera:
Manifest:
What are you seeing
Module starts FPM service every puppet run. Unable to unset the ensure parameter for the php fpm service. I use corosync/pacemaker to manage this service and sometimes it's running and sometimes it's not.
What behaviour did you expect instead
FPM service should not start
Output log
Notice: /Stage[main]/Php::Fpm::Service/Service[php74-php-fpm]/ensure: ensure changed 'stopped' to 'running' (corrective)
Any additional information you'd like to impart
The php::fpm_service_enable setting works but the php::fpm_service_ensure always is overwritten with the default of "running".
The text was updated successfully, but these errors were encountered: