]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
apt_conf: change mode to 644
authorGabriel Filion <lelutin@gmail.com>
Mon, 29 Nov 2010 18:37:53 +0000 (13:37 -0500)
committerGabriel Filion <lelutin@gmail.com>
Mon, 29 Nov 2010 18:37:53 +0000 (13:37 -0500)
Current mode (600) makes it impossible to use apt-cache to search for
package names and info, since it tries to read all configuration files
in /etc/apt/apt.conf.d before executing.

Change configuration file mode to 644 so that search tasks can be made
without root priviledge.

manifests/apt_conf.pp

index 62e43771b881b57597fb632ad529db1b2afd896d..cce0e6e7db55329b73d005945cb3fa00c76c56d0 100644 (file)
@@ -13,7 +13,7 @@ define apt::apt_conf(
   file { "/etc/apt/apt.conf.d/${name}":
     ensure => $ensure,
     notify => Exec["refresh_apt"],
-    owner => root, group => 0, mode => 0600;
+    owner => root, group => 0, mode => 0644;
   }
 
   if $source {