瀏覽代碼

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 1c072a304e)
changes/42/707742/1
Tobias Urdin 1 月之前
父節點
當前提交
e8f6ed9941
共有 1 個檔案被更改,包括 6 行新增5 行删除
  1. +6
    -5
      manifests/auth_file.pp

+ 6
- 5
manifests/auth_file.pp 查看文件

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

Loading…
取消
儲存