using puppet to setup prometheus node exporter

asked 2017-08-22 13:28:41 -0600

GatewayBlend-ASM gravatar image

Hello, I'm running into some confusion trying to get puppet (running on CentOS 6) to use facter variables to create a systemd service. I want to create a service for prometheus's redis node exporter and deploy that using the network interface. However I"m new to this and don't know if I need to set up a class or if I can do this straight from the config files.

Here is an example of what I have so far:

ExecStart=/opt/monitoring/redis_exporter-master -redis.addr <%= @$ipaddress %>:6379


We have also tried following information found on:

edit retag flag offensive close merge delete