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
Some of the
archive
resources, such as the one here for SLES, lack acreates
parameter. When using the latestarchive
module, this creates idempotency issues as the archive is cleaned up and redownloaded every agent run: