Make auth.conf contents Sensitive
authorScott Brimhall <36291478+suchpuppet@users.noreply.github.com>
Tue, 17 Nov 2020 22:09:12 +0000 (16:09 -0600)
committerGitHub <noreply@github.com>
Tue, 17 Nov 2020 22:09:12 +0000 (16:09 -0600)
manifests/init.pp

index fcfb09c30de2ba94bdb25498747856aab2920210..ea4e828267225606adfa3d2cdeabf2a4cf407f4b 100644 (file)
@@ -329,7 +329,7 @@ class apt (
       owner   => $auth_conf_owner,
       group   => 'root',
       mode    => '0600',
-      content => "${confheadertmp}${auth_conf_tmp}",
+      content => Sensitive("${confheadertmp}${auth_conf_tmp}"),
       notify  => Class['apt::update'],
     }
   }