To be clear, my example of iterating over the interfaces was Puppet code.
But you can also access the hash from Ruby.

New custom facts can be distributed as Puppet modules. See
https://docs.puppetlabs.com/guides/plugins_in_modules.html. If you have a
concrete set of facts you'd like to propose, you can follow up with them or
put them up as a PR to Facter, but there's a good chance we'll ask that you
release them as a module instead. It depends on what function the facts are
trying to fulfill.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CABy1mMLbtWQWWwHM7C8O5PzfEiosoaF6vKr%2BH4PByx2mho7TYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to