From e9f42c28b99764411b83fd9975dc22c2350557c7 Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Tue, 14 Apr 2015 10:14:28 +0200 Subject: [PATCH] Fix permission on MySQL plugin file This change modifies the permissions on the MySQL plugin configuration file to avoid making it readable by everybody. --- manifests/plugin/mysql/database.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/plugin/mysql/database.pp b/manifests/plugin/mysql/database.pp index 9216e9a02..e736ea1e5 100644 --- a/manifests/plugin/mysql/database.pp +++ b/manifests/plugin/mysql/database.pp @@ -28,7 +28,7 @@ file { "${name}.conf": ensure => $ensure, path => "${conf_dir}/mysql-${name}.conf", - mode => '0644', + mode => '0640', owner => 'root', group => $collectd::params::root_group, content => template('collectd/mysql-database.conf.erb'),