aboutsummaryrefslogtreecommitdiff
path: root/manifests/sources_list.pp
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2010-10-25 12:36:59 -0400
committerGabriel Filion <lelutin@gmail.com>2010-10-25 14:15:52 -0400
commit92aa5a51e95d74604a40318558aa98f70fcf7720 (patch)
tree00ad85b628531ce95a47c9b7be9be83fbf4eed26 /manifests/sources_list.pp
parentaaf3bd6adb6cf979ce7c18492c3a60fa2b31cba9 (diff)
downloadpuppet-apt-92aa5a51e95d74604a40318558aa98f70fcf7720.tar.gz
puppet-apt-92aa5a51e95d74604a40318558aa98f70fcf7720.tar.bz2
Ensure presence of sources.list.d and watch it
Add a file resource on the apt/sources.list.d directory to ensure that it is created as a directory and watch it for modifications to automatically refresh the apt cache. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Diffstat (limited to 'manifests/sources_list.pp')
-rw-r--r--manifests/sources_list.pp1
1 files changed, 0 insertions, 1 deletions
diff --git a/manifests/sources_list.pp b/manifests/sources_list.pp
index d3f18d5..bbf887a 100644
--- a/manifests/sources_list.pp
+++ b/manifests/sources_list.pp
@@ -12,7 +12,6 @@ define apt::sources_list (
file { "/etc/apt/sources.list.d/${name}":
ensure => $ensure,
- notify => Exec['refresh_apt'],
owner => root, group => 0, mode => 0600;
}