Commit 97af2a54 authored by Matt Wise's avatar Matt Wise
Browse files

Do not show_diff in freeradius::cert.

This can lead to private keys being exposed in logs when Puppet runs.
parent a0238312
...@@ -17,13 +17,14 @@ define freeradius::cert ( ...@@ -17,13 +17,14 @@ define freeradius::cert (
} }
file { "${fr_basepath}/certs/${name}": file { "${fr_basepath}/certs/${name}":
ensure => $ensure, ensure => $ensure,
mode => $permission, mode => $permission,
owner => 'root', owner => 'root',
group => $fr_group, group => $fr_group,
source => $source, source => $source,
content => $content, content => $content,
require => [File["${fr_basepath}/certs"], Package[$fr_package], Group[$fr_group]], show_diff => false,
notify => Service[$fr_service], require => [File["${fr_basepath}/certs"], Package[$fr_package], Group[$fr_group]],
notify => Service[$fr_service],
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment