Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
and an acceptance test
[puppet-modules/puppetlabs-apt.git]
/
templates
/
10periodic.erb
diff --git
a/templates/10periodic.erb
b/templates/10periodic.erb
index 5737c9ac29fc8b25405a7e618ce150532e8d453e..43caed9ea149841dbdbe8fd1cee051b770966dab 100644
(file)
--- a/
templates/10periodic.erb
+++ b/
templates/10periodic.erb
@@
-10,3
+10,6
@@
APT::Periodic::Download-Upgradeable-Packages-Debdelta "<%= @download_delta %>";
APT::Periodic::Unattended-Upgrade "<%= @upgrade %>";
APT::Periodic::AutocleanInterval "<%= @autoclean %>";
APT::Periodic::Verbose "<%= @verbose %>";
+<%- unless @randomsleep.nil? -%>
+APT::Periodic::RandomSleep "<%= @randomsleep %>";
+<%- end -%>