still pretty new to Ruby, please bare with me :) Say I have a module
with a custom type, structured like so:


In foo.rb, I'd like to call some custom ruby functions in a module and/
or class. These are generic functions that may be used in other
modules, e.g. md5.rb with a collection of MD5 functions/methods.

I was thinking a generic 'custom' module laid out something like


What's the best place to put these so they get autoloaded by
pluginsync, and what is the preferred approach for namespacing?
Basically how do I require these within other modules.

Poking around the forge, I've seen things like




But often there seem to be hacks used to load these.



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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppuppet-users @
postedJul 9, '12 at 10:23p
activeJul 10, '12 at 3:08a

1 user in discussion

Ad: 2 posts



site design / logo © 2022 Grokbase