From b109d66934f9bc23e9609307473819c0f7cf2e4e Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 24 Jun 2022 01:13:41 +0900 Subject: [PATCH] Hide differences when updating clouds.yaml The clouds.yaml file includes credentials to access OpenStack APIs, so differences should be hidden from output. Change-Id: I7728df4bae694fe560e2e2b90ee4bb480f03a43c --- manifests/clouds.pp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/manifests/clouds.pp b/manifests/clouds.pp index ec279b6d..670c0ca8 100644 --- a/manifests/clouds.pp +++ b/manifests/clouds.pp @@ -66,10 +66,11 @@ define openstacklib::clouds( } file { $path: - ensure => 'present', - mode => '0600', - owner => 'root', - group => 'root', - content => template('openstacklib/clouds.yaml.erb'), + ensure => 'present', + mode => '0600', + owner => 'root', + group => 'root', + content => template('openstacklib/clouds.yaml.erb'), + show_diff => false, } }