Hi Corey,

It's part of the 'property' Object:
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/property.rb#L186

On Fri, Sep 18, 2015 at 11:02 AM, Corey Osman <[email protected]> wrote:

> Where is this documented or exist in the puppet codebase as this is
> exactly what I was looking for.
>
> On Thursday, September 17, 2015 at 11:48:17 AM UTC-7, Reid Vandewiele
> wrote:
>>
>> On Wednesday, September 16, 2015 at 6:19:27 PM UTC-7, Corey Osman wrote:
>>>
>>>
>>> [...] how can I keep the password from showing up in the reports when
>>> the password changes.  Basically I don’t want the following to occur.  Is
>>> there a way to suppress the logging of this info?  Or is there a way to
>>> “munge/encrypt” the info being logged? [...]
>>>
>>> Notice: /Stage[main]/Main/Bmcuser[testuser]/userpass: userpass changed
>>> '**Hidden**' to ‘123456'
>>>
>> The user type in Puppet core does this mostly, using change_to_s(),
>> is_to_s(), and should_to_s(). Check out this part of the newproperty()
>> method for password.
>>
>>
>> https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/user.rb#L212-L225
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/5dbea916-c327-4a4b-9c8d-b7e75e7364eb%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-dev/5dbea916-c327-4a4b-9c8d-b7e75e7364eb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699

-- This account not approved for unencrypted proprietary information --

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoXMAzsKfKDp791UmWLAvjkYmjj70-OEx_%2B%3Du%3DLXcOvHAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to