summaryrefslogtreecommitdiff
path: root/manifests/custom_sources.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-11-10 10:11:18 +0100
committerintrigeri <intrigeri@boum.org>2010-11-10 10:19:06 +0100
commit2cd9496999af2dd00a203f38c4e1f4393c7f3f62 (patch)
treea74f18ccf51d7f48752b37d3a8f39705972eac05 /manifests/custom_sources.pp
parentc43bfac6b80489cf789fe448abb3561a6655a969 (diff)
parent5bf01f148d2c2db8523febc0d73591444c5965c9 (diff)
Merge remote branch 'nadir/master'
Conflicts: README manifests/custom_sources.pp manifests/default_preferences.pp manifests/init.pp manifests/unattended_upgrades.pp templates/Debian/sources.list.volatile.erb
Diffstat (limited to 'manifests/custom_sources.pp')
-rw-r--r--manifests/custom_sources.pp7
1 files changed, 2 insertions, 5 deletions
diff --git a/manifests/custom_sources.pp b/manifests/custom_sources.pp
index 31d685a..c9e0b9c 100644
--- a/manifests/custom_sources.pp
+++ b/manifests/custom_sources.pp
@@ -1,10 +1,7 @@
define apt::custom_sources_template ($sources_file = "") {
file { "/etc/apt/sources.list.d/$sources_file":
content => template($name),
+ notify => Exec['refresh_apt']
}
- exec { "/usr/bin/apt-get update":
- subscribe => File["/etc/apt/sources.list.d/$sources_file"],
- refreshonly => true,
- }
- }
+}