Comments (8)
Yeah, I believe that is due to using the 'creates' attribute with the 'cherry_pick' action in the ark resource - https://github.com/adamkrone/chef-consul-template/blob/master/recipes/install_binary.rb#L32
using 'creates', keeps the extraction from running every time, since it checks for existence of file.
To handle updates, ark :install should probably be used to install to a versioned path and use a symlink to the binary.
That or do version checking of the consul-template library.
from chef-consul-template.
Nice catch @ccannell67 !
Going to ping @someara @sigje @tas50,
Should I open an issue in ark ?
from chef-consul-template.
It sounds like we should be symlinking, or using our own guard, as @ccannell67 mentioned.
I should have some time over the holidays to take a look at this, but feel free to submit a PR if you'd like to take a stab at it.
from chef-consul-template.
@scalp42 I just merged some changes into master that updates the way binaries are downloaded/extracted/etc. I moved away from ark, and it's now using a symlink.
Let me know if this fixes things for you. If everything checks out, I will be releasing a new version on the supermarket soon.
from chef-consul-template.
@adamkrone just saw that. Thanks for looking into it.
I'm hoping to tinker with it today or Tuesday!
from chef-consul-template.
Testing.
from chef-consul-template.
@adamkrone working great! Updated consul-template version itself and the chef-consul-template cookbook version at same time.
💯
from chef-consul-template.
Closing as it's fixed in master.
from chef-consul-template.
Related Issues (20)
- Publish to supermarket.chef.io HOT 4
- Config dir permissions are getting double-set HOT 2
- golang solution constraint between consul cookbook and consul-template cookbook HOT 3
- /usr/local/bin/consul-template is created as a zero-length file HOT 6
- Current tagged release v0.9.1 is broken for new consul-template v0.12.2 HOT 4
- Cookbook is now longer compatible with Chef 11
- How to test notification in ChefSpec? HOT 4
- nssm_params cause master branch recipe to fail to compile HOT 2
- Add ability to pass in options to the CLI command HOT 1
- Update to not pull in the Supervisor cookbook HOT 11
- mark default.json file resource as sensitive
- systemd config times out on service stop/restart on ubuntu 16.04
- expand consul_template_config to allow contents instead of source
- Can't install consul-template HOT 4
- Syntax error in libraries/consul-template-helpers HOT 1
- broken compatibility with Chef 12 HOT 3
- Unit consul-template.service entered failed state, exit code=14
- Remove libarchive::default recipe HOT 3
- Release 0.13.1 to fix windows support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-consul-template.