diff options
author | Thom May <thom@may.lt> | 2016-10-20 19:26:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-20 19:26:08 +0100 |
commit | 813cb70610399187da8822f298b3cd049d22b65b (patch) | |
tree | e856f7b80c72ac69adae0c86f56584ce40ed6dd6 | |
parent | ec534aa0fce2c0199bf622a06eeb2c291185cdee (diff) | |
parent | d9322204d89278bfc08a9f2b4853c8ceac9a289b (diff) | |
download | chef-813cb70610399187da8822f298b3cd049d22b65b.tar.gz |
Merge pull request #5471 from chef/lcg/make-scm-password-sensitive
convert svn_password to property + make sensitive
-rw-r--r-- | lib/chef/resource/scm.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/chef/resource/scm.rb b/lib/chef/resource/scm.rb index 1e8c71e59d..533723c2c4 100644 --- a/lib/chef/resource/scm.rb +++ b/lib/chef/resource/scm.rb @@ -89,13 +89,7 @@ class Chef ) end - def svn_password(arg = nil) - set_or_return( - :svn_password, - arg, - :kind_of => String - ) - end + property :svn_password, String, sensitive: true, desired_state: false def svn_arguments(arg = nil) @svn_arguments, arg = nil, nil if arg == false |