aboutsummaryrefslogtreecommitdiff
path: root/manifests/apt_conf.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/apt_conf.pp')
-rw-r--r--manifests/apt_conf.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/apt_conf.pp b/manifests/apt_conf.pp
index 03ae1ac..fe07546 100644
--- a/manifests/apt_conf.pp
+++ b/manifests/apt_conf.pp
@@ -14,10 +14,13 @@ define apt::apt_conf(
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/apt.conf.d/${name}":
ensure => $ensure,
+ owner => root, group => 0, mode => 0644,
notify => Exec["refresh_apt"],
- owner => root, group => 0, mode => 0644;
}
if $source {