summaryrefslogtreecommitdiff
path: root/manifests
AgeCommit message (Collapse)Author
2016-01-08Don't fail immediatly if legacy_origin/origins not setDaniele Sluijters
Closes #37
2016-01-08cleanup(params) make linter happyIgor Galić
2015-10-26Include variable 'RandomSleep'.Felix Barbeira
When the apt job starts, it will sleep for a random period between 0 and APT::Periodic::RandomSleep seconds. The default value is "1800" so that the script will stall for up to 30 minutes (1800 seconds) so that the mirror servers are not crushed by everyone running their updates all at the same time. Only set this to 0 if you use a local mirror and don't mind the load spikes. Note that while the apt job is sleeping it will cause the execution of the rest of your cron.daily jobs to be delayed.
2015-10-15Add notify_update parameterClaude Durocher
2015-09-09Update origins by merging Debian defaults, puppetlabs-apt and own researchRaoul Bhatia
Default configuration was taken from the following archives file ./etc/apt/apt.conf.d/50unattended-upgrades Debian: * 6 Squeeze: unattended-upgrades_0.62.2+squeeze1_all.deb * 7 Wheezy: unattended-upgrades_0.79.5+wheezy2_all.deb * 8 Jessie: unattended-upgrades_0.83.3.2+deb8u1_all.deb Ubuntu: * 12.04LTS Precise Pangolin: unattended-upgrades_0.76ubuntu1.1_all.deb * 14.04LTS Trusty Tahr: unattended-upgrades_0.82.1ubuntu2.3_all.deb * 15.04 Vivid Vervet: unattended-upgrades_0.83.6ubuntu1_all.deb * 15.10 Wily Werewolf: unattended-upgrades_0.86.2ubuntu1_all.deb
2015-09-02Merge pull request #14 from cpick/fix-ubuntu-originsIgor Galić
unattended-upgrades are broken on Ubuntu by default due to origins typo
2015-08-14Add support for RaspbianLutz Bader
2015-07-16Check for strict_variables setting before using defined(), fixes ↵Adriaan Peeters
compatibility with Puppet < 3.5.0
2015-06-03Fix Allowed-Origins on Ubuntu so that updates are actually appliedChris Pick
Fix the typo in the default origins parameter for Ubuntu that was causing all unattended-upgrades to be disabled on Ubuntu machines by default.
2015-04-23init: Do not include apt ourselves.Daniele Sluijters
Using `include apt` causes problems. If someone in the catalogue does an `class { 'apt: }` and we come after it with `include apt` this will work. However if the order is reversed we'll get a duplicate resource definition. Closes #12
2015-04-22init: Turn size into a single value.Daniele Sluijters
The `size` hash could only ever have the `max` key so it makes more sense to have this as a plain value. This also upgrades the dependency on stdlib to 4.6.0 since we're using the new `validate_integer` function.
2015-04-22params: Don't set mail['to'].Daniele Sluijters
Setting it to 'undef' makes it the string undef, not having it set makes it undef/nil for Puppet.
2015-04-22params: Remove 's' from `only_on_error` keyDaniele Sluijters
2015-04-22init: Merge the right way around.Daniele Sluijters
First take the defaults and the merge the user passed in options into them, not the other way around as then our defaults end up overriding some of the keys users pass in.
2015-04-22init: Merge the correct hashesDaniele Sluijters
2015-04-22init: No need for the ordering.Daniele Sluijters
Apt class takes care of this well enough for us.
2015-04-14Initial commit (this is not finished).Daniele Sluijters