summaryrefslogtreecommitdiff
path: root/manifests/init.pp
AgeCommit message (Collapse)Author
2016-07-12Remove redundant checkPaweł Kraśnicki
2016-07-12Make parameter validation stricterPaweł Kraśnicki
2016-07-12Reorder validation to match class declarationPaweł Kraśnicki
2016-07-12Add validation for some parametersPaweł Kraśnicki
2016-03-31add options supportb4ldr
fix ruby 1.9 hash correct
2016-02-05unattended_upgrades: default `notify_update` to falseDaniele Sluijters
The settings that we write for unattended-upgrades, though part of `/etc/apt` on the filesystem, do not affect apt's behaviour. As such notifying `apt::update` only serves to slow us down.
2016-01-08Don't fail immediatly if legacy_origin/origins not setDaniele Sluijters
Closes #37
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-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-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