]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Manage a /etc/apt/apt.conf.d/99-puppet file.
authorroot <root@carabus>
Sat, 16 Oct 2010 21:59:23 +0000 (23:59 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 16 Oct 2010 23:18:30 +0000 (01:18 +0200)
manifests/init.pp

index bb3fbef3d388576c833004ffd1e950d1d9712d0d..dc581f52c1098efa76bad543577e233a39f976ce 100644 (file)
@@ -100,6 +100,10 @@ class apt {
   modules_dir { apt: }
   # watch apt.conf.d
   file { "/etc/apt/apt.conf.d": ensure => directory, checksum => mtime; }
+  file { '/etc/apt/apt.conf.d/99-puppet':
+      ensure => 'file',
+      owner => 'root', group => '0', mode => '0644',
+  }
 
   exec {
     # "&& sleep 1" is workaround for older(?) clients