summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2016-01-08Remediate rubocop offensesRob Nelson
2016-01-08Update from voxpupuli modulesync_configIgor 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-09-09Enhance and bugfix tests for Ubuntu Vivid & WilyRaoul Bhatia
2015-09-09Enhance and bugfix tests for Debian & Ubuntu LTSRaoul Bhatia
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 tests for RaspbianLutz Bader
2015-06-03Add test demonstrating bad Allowed-Origins for UbuntuChris Pick
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.
2015-06-03Fix Ubuntu trusty spec typoChris Pick
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-22spec: Add a full set of tests.Daniele Sluijters
We now test: * Default behaviour on Debian * Default behaviour on Ubuntu * Setting all the possible settings
2015-04-15Fix to use the `mail` hash.Morgan Haskel
Testing unattended upgrades
2015-04-14Test fixesMorgan Haskel
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.
2015-04-14Initial commit (this is not finished).Daniele Sluijters