summaryrefslogtreecommitdiff
path: root/manifests/dist_upgrade.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/dist_upgrade.pp')
-rw-r--r--manifests/dist_upgrade.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/dist_upgrade.pp b/manifests/dist_upgrade.pp
index 19c031e..3061fb8 100644
--- a/manifests/dist_upgrade.pp
+++ b/manifests/dist_upgrade.pp
@@ -1,8 +1,11 @@
-class apt::dist_upgrade {
+class apt::dist_upgrade (
+ $timeout = 300,
+) {
exec { 'apt_dist-upgrade':
command => '/usr/bin/apt-get -q -y -o \'DPkg::Options::=--force-confold\' dist-upgrade',
refreshonly => true,
+ timeout => $timeout,
before => Exec['apt_updated']
}