You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type: 'Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]',
# to
type: 'Optional[Struct[{ user => String[1], password => Variant[String[1], Sensitive[String[1]]] }]]',
Ensure the dsc_base_provider does not enforce Sensitive when dealing with PSCredential
Describe Alternatives You've Considered
An easy way maybe would be to catch PSCredential as you do in PSCredential and apply Sensitive at this level if a PSCredential['password'] is a string.
The text was updated successfully, but these errors were encountered:
Use Case
There are 2 things :
Hiera
init.pp
gensite.pp
Describe the Solution You Would Like
I opened this issue : puppetlabs/Puppet.Dsc#306
The solution would need both.
Notice the change on type:
Describe Alternatives You've Considered
An easy way maybe would be to catch PSCredential as you do in PSCredential and apply Sensitive at this level if a PSCredential['password'] is a string.
The text was updated successfully, but these errors were encountered: