On Fri, Jan 28, 2011 at 09:22, Nick Moffitt <n...@zork.net> wrote:
> Roberto Bouza:
>
>> Inline templates are a little bit dirty to do this, but they will
>> work.
>
> Yeah, it's totally a stopgap.

FWIW, a custom function that took two arguments (ip, cidr) would not
be very hard to write, and would be a nice addition.  You could have
it more cleanly return a result that you could use in other code.
(You can also do more clever things if you want.)

That might be a less painful stopgap...

http://docs.puppetlabs.com/guides/plugins_in_modules.html#note-on-usage-for-server-custom-functions

Regards,
    Daniel
-- 
⎋ Puppet Labs Developer – http://puppetlabs.com
✉ Daniel Pittman <dan...@puppetlabs.com>
✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775
♲ Made with 100 percent post-consumer electrons

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to