puppet-prometheus
puppet-prometheus copied to clipboard
Use Environment File in Systemd for AWS Settings for remote_write configuration
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 6.25.1
- Ruby:
- Distribution:
- Module version: 12.3.0 and 12.4.0
How to reproduce (e.g Puppet code you use)
any puppet code that will spin up a prometheus server instance
What are you seeing
To use prometheus remote_write sigv4 settings, and supplying AWS Key and Secret, using hiera, the key/secret would only be able to be applied via the remote_write_configs option in the array who then will put those values right into the prometheus.yaml.
What behaviour did you expect instead
An option to supply an Environment File to be used by Systemd to hide the configuration more.
Output log
N/A