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
This commit is contained in:
Maximilian Herrmann 2023-02-09 12:37:17 +01:00
parent 7f59387532
commit 1cbfad7c65

View File

@ -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'),
}
}