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
This is seen on some subsequent runs when package is already installed.
What behaviour did you expect instead
Never to see wget-grafana exec after package is installed
Output log
Any additional information you'd like to impart
So, it seems that puppet-grafana uses wget to download a package before installing into /tmp, then installs from the local location. /tmp is a transient filesystem on some systems(Debian/Ubuntu), so after reboot it is wiped and wget runs again (unnecessarily).
Possible solutions/improvements would be either use a less transient fs like /var/tmp which remains intact after reboot, or better yet wrap the wget in a conditional and only call it if necessary.
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)
What are you seeing
This is seen on some subsequent runs when package is already installed.
What behaviour did you expect instead
Never to see wget-grafana exec after package is installed
Output log
Any additional information you'd like to impart
So, it seems that puppet-grafana uses wget to download a package before installing into /tmp, then installs from the local location. /tmp is a transient filesystem on some systems(Debian/Ubuntu), so after reboot it is wiped and wget runs again (unnecessarily).
Possible solutions/improvements would be either use a less transient fs like /var/tmp which remains intact after reboot, or better yet wrap the wget in a conditional and only call it if necessary.
The text was updated successfully, but these errors were encountered: