claranet / puppet-consul_template

A Puppet module to manage the config and jobs of Consul Template from Hashicorp
Apache License 2.0
30 stars 89 forks source link

Tarball-based installation does not update to new version #32

Closed igorwwwwwwwwwwwwwwwwwwww closed 9 years ago

igorwwwwwwwwwwwwwwwwwwww commented 9 years ago

Because this line does not detect a changed url, it will not update if the tarball exists on the local filesystem:

    staging::file { 'consul-template.tar.gz':
      source => $consul_template::download_url
    } ->

I suspect that adding the version number to the filename will solve this issue.

gdhbashton commented 9 years ago

Yep confirmed. I've just updated the default consul version in the module to 0.10.0 - and the release cadence of consul-template has slowed to near zero, so I'm not going to spend time on this one. PR's welcome as always.