Git Product home page Git Product logo

Comments (8)

ccannell67 avatar ccannell67 commented on August 13, 2024

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.

scalp42 avatar scalp42 commented on August 13, 2024

Nice catch @ccannell67 !

Going to ping @someara @sigje @tas50,

Should I open an issue in ark ?

from chef-consul-template.

adamkrone avatar adamkrone commented on August 13, 2024

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.

adamkrone avatar adamkrone commented on August 13, 2024

@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.

scalp42 avatar scalp42 commented on August 13, 2024

@adamkrone just saw that. Thanks for looking into it.

I'm hoping to tinker with it today or Tuesday!

from chef-consul-template.

scalp42 avatar scalp42 commented on August 13, 2024

Testing.

from chef-consul-template.

scalp42 avatar scalp42 commented on August 13, 2024

@adamkrone working great! Updated consul-template version itself and the chef-consul-template cookbook version at same time.

💯

from chef-consul-template.

scalp42 avatar scalp42 commented on August 13, 2024

Closing as it's fixed in master.

from chef-consul-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.