summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-10-19 09:08:56 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-10-19 09:08:56 -0700
commit7a9e6f6a8f872528b9955cac86ff3006ea06e86a (patch)
tree1f8e8544be8b30d13ba7e49eaace51b5ae581336 /lib
parentff7753330255c6f6cdc0f2d01983cf31615989a7 (diff)
downloadchef-7a9e6f6a8f872528b9955cac86ff3006ea06e86a.tar.gz
convert scm_password to property + make sensitive
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/resource/scm.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/chef/resource/scm.rb b/lib/chef/resource/scm.rb
index 1e8c71e59d..899d01c3f1 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
def svn_arguments(arg = nil)
@svn_arguments, arg = nil, nil if arg == false