If you’re using a version of the puppet-prometheus
module that’s earlier than v11.0.0, you get an error when running puppet resource pe-puppetserver
.
Error message
change from stopped to running failed: Services must specify a start command
or a binary (corrective)
You receive this error when using a version of the prometheus
module earlier than v11.0.0. When an older version of the prometheus
module is installed in the control repo, Puppet doesn’t detect the correct provider on the service resource. The module points to a Puppet::Type.type(:service).new
statement that’s outside the fact setcode block, which changes the detection logic of the service provider in Facter.
Version and installation information
PE version: 2021.0 and later
Solution
This issue was fixed in v11.0.0 of the prometheus
module. To resolve the issue, update the module.
How can we improve this article?
0 comments
Please sign in to leave a comment.
Related articles