I made a module called resource_factory:

https://forge.puppetlabs.com/jaydub/resource_factory

It has two parts. One is the resource_factory class, the other is the 
defined_resource_factory resource type. They both do the same kind of thing 
— wrap around create_resources with a hiera look up on some key. The 
difference is that the class creates defined_resource_factory instances by 
default, and those instances are where you put the resource types and hiera 
keys for the stuff you really want to create. Everything's configured in 
hiera without a lot of site specific classes.

Question is: have I just reinvented the wheel on some existing best 
practice, and if so, how are the grown ups creating resources out of Hiera?

John

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/db8705f9-960c-4dc0-bfaf-37e0950afda1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to