Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install_binary breaks upgrade #116

Closed
akerekes opened this issue Feb 2, 2015 · 2 comments
Closed

install_binary breaks upgrade #116

akerekes opened this issue Feb 2, 2015 · 2 comments

Comments

@akerekes
Copy link
Contributor

akerekes commented Feb 2, 2015

The file resource in install_binary which is intended to change the permissions of the installed binary also changes the mod_date of the executable to the current date. E.g.: if I install an older version of consul in 2014 December, which has mod_date of 2014 August, the file resource will change the mod_date to 2014 December. Now if I want to install a newer version that was released e.g in 2014 November, the unzip step of the ark resource will not overwrite the older version executable as it has newer mod_date than the newer version (2014 Dec vs 2014 Nov).

akerekes added a commit to akerekes/consul-cookbook that referenced this issue Feb 2, 2015
@reset
Copy link
Contributor

reset commented Feb 6, 2015

@akerekes thanks for the report. This is fixed in #121

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants