Re: [Puppet Users] List of properties in provider

2014-09-17 Thread Frederik Wagner
Hi Nan, thanks a lot. That works and gave me the right direction, in the end one can use: resource_type.validproperties (or self.class.resource_type.validproperties) Next time I'll check out puppet-dev. Bye Frederik P.S.: BTW nice introductory book ;-) On Wed, Sep 17, 2014 at 6:43 PM, Nan L

Re: [Puppet Users] List of properties in provider

2014-09-17 Thread Nan Liu
On Wed, Sep 17, 2014 at 6:26 AM, Frederik Wagner wrote: > Hi everyone, > > currently I'm writing a custom provider to configure mailing lists. > > In the provider I'm writing I need to access the list of all > properties (set or unset) defined in the type via 'newproperty'. I'm > wondering if the

[Puppet Users] List of properties in provider

2014-09-17 Thread Frederik Wagner
Hi everyone, currently I'm writing a custom provider to configure mailing lists. In the provider I'm writing I need to access the list of all properties (set or unset) defined in the type via 'newproperty'. I'm wondering if there's a way to do that. It feels strange if there wouldn't. What I nee