-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facter error on older distributions (Ubuntu Trusty) #142
Comments
Many thanks for reporting the issue. Can you please run the following command: |
Many thanks.
Is alert_manager installed and running? or not installed at all? |
It shouldn't be installed at all; I just installed node exporter:
Meanwhile I did some more testing and I think it's more of a puppet issue than the module itself. Running the same command for a service that should not exist: on a Trusty (non-systemd) fails:
while on Xenial returns the correct values:
|
That is great information. We can easily check in the fact for an error from |
Thank you. I appreciate all your help. |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Error: Facter: error while resolving custom fact "prometheus_alert_manager_running": Could not find init script or upstart conf file for 'alert_manager'
What behaviour did you expect instead
No error
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: