Re: [Puppet-dev] Re: utilizing custom type for fact values

2015-09-18 Thread John Bollinger
On Friday, September 18, 2015 at 8:54:24 AM UTC-5, Trevor Vaughan wrote: > > Hi Kylo, > > I've never used this approach since I took the assumption that my facts > may be used outside of/before all of my Puppet manifests were fully > installed. > > It did, at times, dictate either code duplicat

Re: [Puppet-dev] Re: utilizing custom type for fact values

2015-09-18 Thread Corey Osman
I saw a fact recently that utilized the package type to lookup if a package was installed. It seemed like a cool hack considering the amount of code it takes to see if a package is installed on windows. So I thought I might see if I could do the same thing with my bmc type. My other approach i

Re: [Puppet-dev] Re: munging the log output from a custom provider

2015-09-18 Thread Reid Vandewiele
On Fri, Sep 18, 2015 at 9:02 AM Trevor Vaughan wrote: > Hi Corey, > > It's part of the 'property' Object: > https://github.com/puppetlabs/puppet/blob/master/lib/puppet/property.rb#L186 > Related references: http://www.rubydoc.info/gems/puppet/Puppet/Property (same thing, the rdoc view) https://

Re: [Puppet-dev] Re: munging the log output from a custom provider

2015-09-18 Thread Trevor Vaughan
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 wrote: > Where is this documented or exist in the puppet codebase as this is > exactly what I was looking for. > > On Thursday

[Puppet-dev] Re: munging the log output from a custom provider

2015-09-18 Thread Corey Osman
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

Re: [Puppet-dev] Re: utilizing custom type for fact values

2015-09-18 Thread Trevor Vaughan
Hi Kylo, I've never used this approach since I took the assumption that my facts may be used outside of/before all of my Puppet manifests were fully installed. It did, at times, dictate either code duplication or the creation of an external Ruby Gem that both could use that would be installed via