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

2020-09-11 Thread Henrik Lindberg
On 2020-09-11 20:52, Josh Cooper wrote: On Wed, Sep 9, 2020 at 11:16 PM 'Dirk Heinrichs' via Puppet Users mailto:puppet-users@googlegroups.com>> wrote: 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

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

2020-09-11 Thread Josh Cooper
On Wed, Sep 9, 2020 at 11:16 PM 'Dirk Heinrichs' via Puppet Users < puppet-users@googlegroups.com> wrote: > 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

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

2020-09-10 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

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, > >

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