voxpupuli / puppet-telegraf

A Puppet module for installing and configuring InfluxData's Telegraf
https://forge.puppet.com/puppet/telegraf
GNU General Public License v3.0
24 stars 98 forks source link

Add creates parameter to all archive resources #205

Closed m0dular closed 1 year ago

m0dular commented 1 year ago

Some of the archive resources, such as the one here for SLES, lack a creates parameter. When using the latest archive module, this creates idempotency issues as the archive is cleaned up and redownloaded every agent run:

Notice: /Stage[main]/Telegraf::Install/Archive[/tmp/telegraf.tar.gz]/ensure: download archive from https://dl.influxdata.com/telegraf/releases/telegraf-1.25.3_linux_amd64.tar.gz to /tmp/telegraf.tar.gz and extracted in /opt/telegraf with cleanup