Comments (3)
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.
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.
Sounds good!
@apenney: Close please?
from puppetlabs-apt.
Related Issues (20)
- validation of ppa breaks ppa HOT 4
- Variables ($release) that are defined as undef are breaking with '' validation HOT 1
- apt::pin ignores order parameter HOT 3
- Another validation of ppa issue
- Switch apt::key from apt-key to trusted.gpg.d HOT 2
- apt_key can not deal with options HOT 2
- apt-key is deprecated for key usage on debian and ubuntu HOT 1
- W: --force-yes is deprecated, use one of the options starting with --allow instead. HOT 6
- The link to the contributing guidelines is dead HOT 1
- repos are mandatory, though they should not be HOT 1
- Puppet produces invalid list of sources that it cannot correct anymore HOT 8
- Nightly CI spews error notification to unrelated folks HOT 4
- upgrade to 9.1.0 make /apt_key.rb:100: syntax error, unexpected ']' HOT 4
- Evaluation Error: Operator '[]' is not applicable to an Undef Value
- Replace sources.list not working HOT 4
- Add more possible values for update frequency
- apt::keyring::dir's default as class variable HOT 5
- Automatically purge old keyrings from /etc/apt/keyrings HOT 2
- Support dearmor GPG key for keyring HOT 3
- apt::mark with setting => unhold is not idempotent
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 puppetlabs-apt.