From a570a861ba9b58dda18c9e49a634518f0bbfb465 Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Thu, 13 Feb 2020 23:52:19 +0100 Subject: [PATCH] Set show_diff to false for auth_file We should not show changes in output since the password might be leaked there. I will add a follow-up patch later in master that cleans up testing and etc. We need to backport this to all versions. Change-Id: Ief909c8303d7d29dcd0c19ee4cb4974667eadbcb (cherry picked from commit 1c072a304ea9a5f791223d617ed2a49754690903) --- manifests/auth_file.pp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/manifests/auth_file.pp b/manifests/auth_file.pp index 6650df9..9aa927e 100644 --- a/manifests/auth_file.pp +++ b/manifests/auth_file.pp @@ -152,10 +152,11 @@ class openstack_extras::auth_file( fail('You must specify a password for openstack_extras::auth_file') } file { $path: - owner => 'root', - group => 'root', - mode => '0700', - tag => ['openrc'], - content => template('openstack_extras/openrc.erb') + owner => 'root', + group => 'root', + mode => '0700', + show_diff => false, + tag => ['openrc'], + content => template('openstack_extras/openrc.erb') } }