From 1cbfad7c6513acbd0e6eb7ecd09f01d8e3c9ee4c Mon Sep 17 00:00:00 2001 From: Maximilian Herrmann Date: Thu, 9 Feb 2023 12:37:17 +0100 Subject: [PATCH] dont print config diff when writing new config file especially when using bindpw this should not be printed in plaintext also when bindpw will printed in plaintext, this will be stored plaintext in the report --- manifests/config.pp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/manifests/config.pp b/manifests/config.pp index c02d286..ae015b5 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -7,10 +7,11 @@ class nslcd::config inherits nslcd file { $nslcd::config: - ensure => file, - owner => $nslcd::config_user, - group => $nslcd::config_group, - mode => $nslcd::config_mode, - content => template('nslcd/nslcd.erb'), + ensure => file, + owner => $nslcd::config_user, + group => $nslcd::config_group, + mode => $nslcd::config_mode, + show_diff => false + content => template('nslcd/nslcd.erb'), } -} \ No newline at end of file +}