summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/manifests/dist_upgrade.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-02-01 16:53:10 +0100
committervarac <varacanero@zeromail.org>2016-02-02 09:47:45 +0100
commit432b139f6529fab2f190b7f066064559ecd5a5d5 (patch)
tree9daeb1a88c8db8a38d5047c6e71a7c111e20c7da /puppet/modules/site_apt/manifests/dist_upgrade.pp
parent4e2e0737efe244fb3d13c82d441a6804c1e9918d (diff)
[refactor] Use Exec[apt_updated] instead of Exec[refresh_apt]
Because this is the recommended way of depnending in the apt README.
Diffstat (limited to 'puppet/modules/site_apt/manifests/dist_upgrade.pp')
-rw-r--r--puppet/modules/site_apt/manifests/dist_upgrade.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_apt/manifests/dist_upgrade.pp b/puppet/modules/site_apt/manifests/dist_upgrade.pp
index 40e2dd58..0eb98cea 100644
--- a/puppet/modules/site_apt/manifests/dist_upgrade.pp
+++ b/puppet/modules/site_apt/manifests/dist_upgrade.pp
@@ -11,7 +11,7 @@ class site_apt::dist_upgrade {
command => "/usr/bin/apt-get -q -y -o 'DPkg::Options::=--force-confold' dist-upgrade",
refreshonly => false,
timeout => 1200,
- require => Exec['refresh_apt']
+ require => Exec['apt_updated']
}
}
}