On Fri, Oct 19, 2012 at 11:14 AM, Trevor Vaughan <[email protected]> wrote: > Yeah, that's sort of what I figured. So...how would you go about > ensuring that a default value for a type pulls from extdata? >
I think that when you want to do that you are no longer in a generic type realm and have moved into the realm of specializing the type to your environment. So you need to write some puppet code that can handle that kind of "default" value. In essence, it sounds like you are trying to do the equivalent of the data bindings, but inside a type, which isn't the place for that. > Thanks, > > Trevor > > On Fri, Oct 19, 2012 at 1:46 PM, Andy Parker <[email protected]> wrote: >> That won't be possible because the type (for the most part) and the >> provider executes on the agent. The functions are only available on >> the master. >> >> On Fri, Oct 19, 2012 at 10:44 AM, Trevor Vaughan <[email protected]> >> wrote: >>> I've been trying to call the extlookup function from a custom type and >>> haven't quite been able to get it to work. >>> >>> Is this possible? If so, how? >>> >>> Thanks, >>> >>> Trevor >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Puppet Developers" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/puppet-dev?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Developers" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/puppet-dev?hl=en. >> > > > > -- > 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 Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
