diff options
author | intrigeri <intrigeri@boum.org> | 2010-11-10 10:11:18 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-11-10 10:19:06 +0100 |
commit | 2cd9496999af2dd00a203f38c4e1f4393c7f3f62 (patch) | |
tree | a74f18ccf51d7f48752b37d3a8f39705972eac05 /manifests/custom_sources.pp | |
parent | c43bfac6b80489cf789fe448abb3561a6655a969 (diff) | |
parent | 5bf01f148d2c2db8523febc0d73591444c5965c9 (diff) | |
download | puppet-apt-2cd9496999af2dd00a203f38c4e1f4393c7f3f62.tar.gz puppet-apt-2cd9496999af2dd00a203f38c4e1f4393c7f3f62.tar.bz2 |
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.pp | 7 |
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, - } - } +} |