Giter VIP home page Giter VIP logo

Comments (3)

daenney avatar daenney commented on September 2, 2024

When a change occurs to apt::source Puppet notifies the apt-get update Exec so in that case an update will be triggered.

There is no way for Puppet to determine what you call a 'first run' and depending on your perspective a 'first run' might vary from the first time the machine boots to the first second after day change etc. so modelling that behaviour is nearly impossible.

from puppetlabs-apt.

jfarschman avatar jfarschman commented on September 2, 2024

Thank you daenney,

So I'll set "always_apt_update" to false/off and let the apt::source handle things. I'm using an ENC now that places all new instances into a "default" hostgroup and I built a firstrun module for this group. It makes sure updates have run at the beginning of a systems lifecycle. Then we reclassify the systems to their appropriate hostgroup where we will let apt::source handle things.

from puppetlabs-apt.

daenney avatar daenney commented on September 2, 2024

Sounds good!

@apenney: Close please?

from puppetlabs-apt.

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.