summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests
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_config/manifests
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_config/manifests')
-rw-r--r--puppet/modules/site_config/manifests/default.pp2
-rw-r--r--puppet/modules/site_config/manifests/remove/jessie.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_config/manifests/default.pp b/puppet/modules/site_config/manifests/default.pp
index 96f06e6c..b5d0f32d 100644
--- a/puppet/modules/site_config/manifests/default.pp
+++ b/puppet/modules/site_config/manifests/default.pp
@@ -16,7 +16,7 @@ class site_config::default {
# 'apt-get update' is executed by 'site_config::slow', it should be done
# before any packages are installed.
- Package { require => Exec['refresh_apt'] }
+ Package { require => Exec['apt_updated'] }
# default class, used by all hosts
diff --git a/puppet/modules/site_config/manifests/remove/jessie.pp b/puppet/modules/site_config/manifests/remove/jessie.pp
index cbeaae05..c813e46d 100644
--- a/puppet/modules/site_config/manifests/remove/jessie.pp
+++ b/puppet/modules/site_config/manifests/remove/jessie.pp
@@ -3,7 +3,7 @@ class site_config::remove::jessie {
tidy {
'/etc/apt/preferences.d/rsyslog_anon_depends':
- notify => Exec['refresh_apt'];
+ notify => Exec['apt_updated'];
}
}