diff options
author | mh <mh@immerda.ch> | 2012-04-15 13:18:59 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-04-15 13:19:45 +0200 |
commit | bdc244667161c3fa9140632c535921db61468800 (patch) | |
tree | 2940f0ca9d034cdaae8136d3da68aecb407e812d /manifests/sources_list.pp | |
parent | 7727549c02c97e6a20dffcbf996bce90c252c793 (diff) | |
parent | ee33741aa1fb892cacd93d816f43093a201044a6 (diff) | |
download | puppet-apt-bdc244667161c3fa9140632c535921db61468800.tar.gz puppet-apt-bdc244667161c3fa9140632c535921db61468800.tar.bz2 |
Merge remote-tracking branch 'shared/master'
Conflicts:
README
Diffstat (limited to 'manifests/sources_list.pp')
-rw-r--r-- | manifests/sources_list.pp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/sources_list.pp b/manifests/sources_list.pp index 86b35a7..499116d 100644 --- a/manifests/sources_list.pp +++ b/manifests/sources_list.pp @@ -11,9 +11,15 @@ define apt::sources_list ( fail("Only one of \$source or \$content must specified for apt_sources_snippet ${name}") } + include apt::dot_d_directories + + # One would expect the 'file' resource on sources.list.d to trigger an + # apt-get update when files are added or modified in the directory, but it + # apparently doesn't. file { "/etc/apt/sources.list.d/${name}": ensure => $ensure, - owner => root, group => 0, mode => 0644; + owner => root, group => 0, mode => 0644, + notify => Exec['refresh_apt'], } if $source { |