Open jaxxstorm opened 3 years ago
hey, thanks for raising this issue. just from your output it's hard to say if the prometheus module is triggering this or another side effect. However, I just fixed a bug that messed around with the init system detection: https://github.com/voxpupuli/puppet-prometheus/pull/511. can you see if this fixes your issue?
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Include the module and set the
init_style
:What are you seeing
When this module is added to my puppet configuration, it actually appears to break the service provider on other modules. Here's an example of nginx failing to start properly:
What behaviour did you expect instead
Other services to start correctly
Any additional information you'd like to impart
It appears the amazon linux 2 service provider isn't detected correctly, so I have to explicitly set the
init_style
If I remove the
puppet-prometheus
module from my modulepath, everything works correctly. I can't figure out where this is coming from.