summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicah <micah@muck.riseup.net>2013-03-20 14:44:00 -0400
committermicah <micah@muck.riseup.net>2013-03-20 14:44:00 -0400
commit5c15d0cf46cef4b1d01df49b390cd452d8d41f76 (patch)
tree944f59955da3ed4531abbc818052d12d44d15152
parent33123befc87bc46bc76bb0700171c2e2ad58fe9f (diff)
Security: plugin-config should not me world readable as it might contain passwords
-rw-r--r--manifests/plugin.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index a0989a8..d243b66 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -52,7 +52,7 @@ define munin::plugin (
default: {
file { $plugin_conf:
content => "[${name}]\n$config\n",
- mode => 0644, owner => root, group => 0,
+ mode => 0640, owner => root, group => 0,
}
if $require {
File[$plugin_conf]{