Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
|
|
unattended-upgrades are broken on Ubuntu by default due to origins typo
|
|
|
|
There is a typo in the default origins parameter for Ubuntu (the leading
dollar sign and brace for the 'distro_codename' fields are transposed). This
causes all unattended-upgrades to be disabled on Ubuntu machines by default.
|
|
|
|
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
|
|
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.
|
|
We now test:
* Default behaviour on Debian
* Default behaviour on Ubuntu
* Setting all the possible settings
|
|
Testing unattended upgrades
|
|
puppetlabs_spec_helper doesn't allow pinning to a branch instead of a
tag/ref, and the requires are in the apt_conf not on the files.
|
|
|