[Puppet Users] Is "Sensitive" broken?

2020-09-09 Thread 'Dirk Heinrichs' via Puppet Users
Hi, tried to use the "Sensitive" data type for the first time (with Puppet 6.18.0), but it doesn't work as expected (found and followed several tutorials on the net, see links below), also using the "lookup_options" method to ensure the Hiera-provided value is indeed converted to sensitive. Here'

[Puppet Users] Re: Is "Sensitive" broken?

2020-09-09 Thread Marty Ewings
Hi There https://puppet.com/docs/puppet/6.17/lang_data_sensitive.html You need to "unwrap" the sensitive data in order to consume the original data in a function On Wednesday, September 9, 2020 at 2:17:34 PM UTC+1 Dirk Heinrichs wrote: > Hi, > > tried to use the "Sensitive" data type for the f

Re: [EXTERNAL] - [Puppet Users] Re: Is "Sensitive" broken?

2020-09-09 Thread 'Dirk Heinrichs' via Puppet Users
Am Mittwoch, den 09.09.2020, 06:34 -0700 schrieb Marty Ewings: > https://puppet.com/docs/puppet/6.17/lang_data_sensitive.html > You need to "unwrap" the sensitive data in order to consume the > original data in a function Yes, did that, too. And that works. However, the data is then shown in clea

Re: [EXTERNAL] - [Puppet Users] Re: Is "Sensitive" broken?

2020-09-09 Thread Mattias Giese
On 09/09/20 13:53:36, 'Dirk Heinrichs' via Puppet Users wrote: > Am Mittwoch, den 09.09.2020, 06:34 -0700 schrieb Marty Ewings: > > > https://puppet.com/docs/puppet/6.17/lang_data_sensitive.html > > You need to "unwrap" the sensitive data in order to consume the > > original data in a function >

[Puppet Users] Faster 4.0.37

2020-09-09 Thread Sebastian Miclea
Hi everyone, We are happy to announce that Facter 4.0.37 is released. [https://media3.giphy.com/media/pa37AAGzKXoek/giphy.gif?cid=4ac7172f1f6mnw424d33mwu7uukmh2joh5gl87hhauzptpgc&rid=giphy.gif] Here’s what’s new: Added * (FACT-1380) Restore --timing option to native facter #2061

Re: [Puppet Users] Is "Sensitive" broken?

2020-09-09 Thread Josh Cooper
On Wed, Sep 9, 2020 at 6:17 AM 'Dirk Heinrichs' via Puppet Users < puppet-users@googlegroups.com> wrote: > Hi, > > tried to use the "Sensitive" data type for the first time (with Puppet > 6.18.0), but it doesn't work as expected (found and followed several > tutorials on the net, see links below),

Re: [Puppet Users] Is "Sensitive" broken?

2020-09-09 Thread 'Dirk Heinrichs' via Puppet Users
Am Mittwoch, den 09.09.2020, 09:14 -0500 schrieb Mattias Giese: > The following snippet redacts the content from log output but stores > the cleartext in the resulting > > file, thus doing what you are looking for > > > > ``` > > file { "${home}/.meraki_env": > > ensure => file, > >

[Puppet Users] inlined-epp with hash

2020-09-09 Thread Andreas Dvorak
Hi, I have this structure in hiera and want to use it in a inlined-epp file *cms::params::database_conf: 'oracle_cms_dev':oracle_cms_jdbc_schema: 'CMS_DEV'oracle_cms_jdbc_user: 'CMS_DEV'oracle_cms_jdbc_driver: 'oracle.jdbc.OracleDriver'oracle_cms_jdbc_url: 'jdbc:oracle

Re: [Puppet Users] Is "Sensitive" broken?

2020-09-09 Thread 'Dirk Heinrichs' via Puppet Users
Am Mittwoch, den 09.09.2020, 08:59 -0700 schrieb Josh Cooper: > The issue you're running into is due to the sensitive value being > interpolated: > > content => "${foo}\n" > > If you reference the Sensitive variable directly, then it will work > as expected: > > content => $foo OK, thanks a lo