File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/puppet/provider/dsc_base_provider Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -777,7 +777,7 @@ def prepare_credentials(resource)
777777 variable_name = random_variable_name
778778 credential_hash = {
779779 'user' => property_hash [ :value ] [ 'user' ] ,
780- 'password' => escape_quotes ( property_hash [ :value ] [ 'password' ] . unwrap )
780+ 'password' => escape_quotes ( unwrap ( property_hash [ :value ] [ 'password' ] ) )
781781 }
782782 credentials_block << format_pscredential ( variable_name , credential_hash )
783783 instantiated_variables . merge! ( variable_name => credential_hash )
@@ -908,7 +908,7 @@ def invoke_params(resource)
908908 # the Credential hash interpolable as it will be replaced by a variable reference.
909909 {
910910 'user' => property_hash [ :value ] [ 'user' ] ,
911- 'password' => escape_quotes ( property_hash [ :value ] [ 'password' ] . unwrap )
911+ 'password' => escape_quotes ( unwrap ( property_hash [ :value ] [ 'password' ] ) )
912912 }
913913 when 'DateTime'
914914 # These have to be handled specifically because they rely on the *Puppet* DateTime,
You can’t perform that action at this time.
0 commit comments