diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-17 18:52:18 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-17 18:52:18 -0200 |
commit | 8bfd579a82b6f824b0184bb2e33a384254426eec (patch) | |
tree | 7fb5cb27698d03883375b6977736f37359651c3e /manifests/apt_conf.pp | |
parent | 2fea12cace6595cb545402fd08dc0a5c78e35507 (diff) | |
parent | 02bd3269948f1a3c5a586e581a7fec22da69a2cc (diff) | |
download | puppet-apt-8bfd579a82b6f824b0184bb2e33a384254426eec.tar.gz puppet-apt-8bfd579a82b6f824b0184bb2e33a384254426eec.tar.bz2 |
Merge branch 'master' of git://labs.riseup.net/module_apt
Diffstat (limited to 'manifests/apt_conf.pp')
-rw-r--r-- | manifests/apt_conf.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/apt_conf.pp b/manifests/apt_conf.pp index c484ec3..fe07546 100644 --- a/manifests/apt_conf.pp +++ b/manifests/apt_conf.pp @@ -12,10 +12,15 @@ define apt::apt_conf( fail("Only one of \$source or \$content must specified for apt_conf ${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/apt.conf.d/${name}": ensure => $ensure, + owner => root, group => 0, mode => 0644, notify => Exec["refresh_apt"], - owner => root, group => 0, mode => 0644; } if $source { |