Jira (PUP-8540) Type checking fails when a sensitive parameter is autoloaded from hiera (no automatic conversion)
Title: Message Title Thomas Hallgren assigned an issue to Henrik Lindberg Puppet / PUP-8540 Type checking fails when a sensitive parameter is autoloaded from hiera (no automatic conversion) Change By: Thomas Hallgren Assignee: Thomas Hallgren Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8540) Type checking fails when a sensitive parameter is autoloaded from hiera (no automatic conversion)
Title: Message Title Thomas Hallgren commented on PUP-8540 Re: Type checking fails when a sensitive parameter is autoloaded from hiera (no automatic conversion) I think this will be resolved by Henrik Lindberg's recent work on PUP-7675. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8540) Type checking fails when a sensitive parameter is autoloaded from hiera (no automatic conversion)
Title: Message Title Jacob Henner created an issue Puppet / PUP-8540 Type checking fails when a sensitive parameter is autoloaded from hiera (no automatic conversion) Issue Type: Bug Affects Versions: PUP 5.4.0 Assignee: Thomas Hallgren Components: Hiera & Lookup Created: 2018/03/10 11:13 AM Labels: hiera Hiera Priority: Normal Reporter: Jacob Henner Puppet Version: 5.4.0 Puppet Server Version: N/A OS Name/Version: CentOS 7 When a class parameter is set to use the sensitive type, automatic class parameter lookup fails with a type checking error. Desired Behavior: The value stored in hiera should be automatically validated against the datatype specified within Sensitive[], or not type-validated if the inner type was not specified. Actual Behavior: Error: Evaluation Error: Error while evaluating a Function Call, Class[Cntlm]: parameter 'cntlm_password' expects a value of type Undef or Sensitive[String], got String (file: /tmp/modules/cntlm/examples/init.pp, line: 2, column: 5) on node localhost.localdomain Workaround: Remove the value as a class parameter, and use Sensitive(lookup()) within the body of the class.