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
That the user:group on the install folder match the created user or root (which is the owner of the executable)
Output log
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/Archive[/tmp/node_exporter-0.18.1.tar.gz]/ensure) download archive from https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz to /tmp/node_exporter-0.18.1.tar.gz and extracted in /opt with cleanup
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/File[/opt/node_exporter-0.18.1.linux-amd64/node_exporter]/owner) owner changed 3434 to 'root'
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/File[/opt/node_exporter-0.18.1.linux-amd64/node_exporter]/group) group changed 3434 to 'root'
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/File[/opt/node_exporter-0.18.1.linux-amd64/node_exporter]/mode) mode changed '0755' to '0555'
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/File[/usr/local/bin/node_exporter]/ensure) created
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/File[/usr/local/bin/node_exporter]) Scheduling refresh of Service[node_exporter]
Jun 19 14:36:49 monitoring-prod systemd[1]: Stopped Network Name Resolution.
Jun 19 14:36:49 monitoring-prod systemd[1]: Starting Network Name Resolution...
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/Group[node-exporter]/ensure) created
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/User[node-exporter]/ensure) created
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/File[/etc/default/node_exporter]/ensure) defined content as '{md5}d41d8cd98f00b204e9800998ecf8427e'
Jun 19 14:36:49 monitoring-prod puppet-agent[25730]: (/Stage[main]/Prometheus::Node_exporter/Prometheus::Daemon[node_exporter]/File[/etc/default/node_exporter]) Scheduling refresh of Service[node_exporter]
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
in a manifest use
include prometheus::node_exporter
What are you seeing
The user/group on /opt/node_exporter-0.18.1.linux-amd64/ is 3434:3434
And the owners inside the install directory
and the installed user:
What behaviour did you expect instead
That the user:group on the install folder match the created user or root (which is the owner of the executable)
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: