aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2010-11-29 13:37:53 -0500
committerGabriel Filion <lelutin@gmail.com>2010-11-29 13:37:53 -0500
commit52ebb41690d523dc40fcbc0424008cbc38ef26f4 (patch)
treeef5a9927b6b7459972865914824d8c996cec9765 /manifests
parent6596641bb12e3d94dbf707759b042bc7b3b476ae (diff)
downloadpuppet-apt-52ebb41690d523dc40fcbc0424008cbc38ef26f4.tar.gz
puppet-apt-52ebb41690d523dc40fcbc0424008cbc38ef26f4.tar.bz2
apt_conf: change mode to 644
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.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/apt_conf.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/apt_conf.pp b/manifests/apt_conf.pp
index 62e4377..cce0e6e 100644
--- a/manifests/apt_conf.pp
+++ b/manifests/apt_conf.pp
@@ -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 {