Hi Peter, This might help: http://www.slideshare.net/PuppetLabs/puppet-type-and-provider-execution-presentation
Thanks, Trevor On Fri, Feb 27, 2015 at 11:13 AM, Peter Berghold <[email protected]> wrote: > that's exactly what I was after. Since this is my first type/provider > pair I'm proceeding cautiously. > > On Fri, Feb 27, 2015 at 11:09 AM Felix Frank < > [email protected]> wrote: > >> On 02/27/2015 05:02 PM, Peter Berghold wrote: >> > can I guess that the first def mod is what is referred to as a "getter" >> > and second is a "setter?" Can I stretch that inference to say that if >> > the value being passed to the setter is the same as what the getter is >> > seeing it won't be set again? >> > >> >> Yes, this is basically a getter/setter pair. >> >> However, the idempotency is implemented closer to the type layer. The >> transaction code will check whether properties are out of sync, and >> invoke the provider "=" methods to take action if necessary. >> >> On this higher level, your assertion should hold true. But I'm not sure >> if that's what you were asking. >> >> HTH, >> Felix >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" 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-users/54F09689.7070607%40alumni.tu-berlin.de. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" 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-users/CAArvnv0FwW2wFqye_VU_LRX4yyFD4yu0O6VVVDQOQ0Q9Yxi3Tg%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAArvnv0FwW2wFqye_VU_LRX4yyFD4yu0O6VVVDQOQ0Q9Yxi3Tg%40mail.gmail.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 [email protected] -- This account not approved for unencrypted proprietary information -- -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users/CANs%2BFoVpm1s64ZuXsEHOd-uH3PRv%3DTK9U77URwK%2BT%2BhpvUX43Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
