Comments (6)
@HT43-bqxFqB I've changed the contain
to include
and this is included in new release 3.0.1
In your code, switch the order of unattended_upgrades
and apt
in your manifest (physical order in the file, not require/before style ordering). You should no longer get a duplicate resource error.
from puppet-unattended_upgrades.
Works perfect now, thanks! I don't get why the order in the manifest matters due to puppet being stateless o_O
Thanks again!
from puppet-unattended_upgrades.
The evaluation order can be important when a catalog is being compiled. A class can be ‘ ‘included’ multiple times, but once it’s been added to the catalog, you can’t declare it ‘resource-style’. When an agent applies a catalog, then it’s all about the resource relationships.
from puppet-unattended_upgrades.
Your other option was to use hiera to configure apt
and then not explicitly declare it yourself at all.
from puppet-unattended_upgrades.
I was not aware that the evaluation order on compilation was important. Thanks for that tip!
from puppet-unattended_upgrades.
yeah, try referencing variables from other classes before they've been parsed... :)
from puppet-unattended_upgrades.
Related Issues (20)
- (Confirm) Ubuntu 18.04 support HOT 3
- Support puppetlabs-apt > 5 HOT 1
- incorrect Debian OS origin string HOT 2
- Add support for Debian 10 HOT 2
- Typo in Readme HOT 5
- new release HOT 6
- new release HOT 1
- minimize changes with default unattended-upgrades configuration HOT 2
- Add syslog support
- No version of 'puppet-unattended_upgrades' can satisfy all dependencies HOT 2
- 1
- random_sleep is ignored on machines using systemd HOT 13
- Debian 11 changes name of security suite
- [Ubuntu 20.04.3] Traceback when running unattended-upgrades --debug --dry-run HOT 3
- Please allow setting allow-releaseinfo-change Debian/Ubuntu
- Relax valadation for newer Periodic interval options
- T HOT 2
- Title HOT 1
- buildin function merge got deprecated in puppet 8 HOT 3
- Error while evaluating a Resource Statement, Duplicate declaration: Package[unattended-upgrades] is already declared HOT 1
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 puppet-unattended_upgrades.