summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Gallagher <robertg@heanet.ie>2016-03-16 11:48:57 +0000
committerRobert Gallagher <robertg@heanet.ie>2016-03-16 11:48:57 +0000
commit921e94b638aa0b2ce836e92f6705342c9264312e (patch)
tree71c980db03fbec1428731e2d15074f8230256c80
parent322fe9e3030cab94b3815323b89405a9e16c0498 (diff)
Small fix for random_sleep documentation. The value is set to undef in init.pp, so the default in the apt cron job's random_sleep() function applies, which is 1800s.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index c6cdb84..3b818ee 100644
--- a/README.md
+++ b/README.md
@@ -93,7 +93,7 @@ Using unattended\_upgrades simply consists of including the module and if needed
* `minimal_steps` (`true`): Split the upgrade process into sections to allow shutdown during upgrade.
* `origins`: The repositories from which to automatically upgrade included packages.
* `package_ensure` (`installed`): The ensure state for the 'unattended-upgrades' package.
-* `random_sleep` (`300`): Maximum amount of time (in seconds) that the apt cron job can sleep before the execution. The exact amount of time will be random but upto the value specified. The purpose is to avoid that servers/mirrors get hammered at exactly the same time when a lot of machines are switched on, e.g. 9:00 in the morning.
+* `random_sleep` (`undef`): Maximum amount of time (in seconds) that the apt cron job can sleep before the execution. The exact amount of time will be random but upto the value specified. The purpose is to avoid that servers/mirrors get hammered at exactly the same time when a lot of machines are switched on, e.g. 9:00 in the morning. Note: If this is left unset, the default value in the apt cron job applies, which is 1800 seconds.
* `size` (`0`): Maximum size of the cache in MB.
* `update` (`1`): Do "apt-get update" automatically every n-days.
* `upgrade` (`1`): Run the "unattended-upgrade" security upgrade script every n-days.