Re: [Puppet Users] Best practice for creating resources out of Hiera?

2014-04-29 Thread John Morton
On Monday, 28 April 2014 20:55:30 UTC+12, Felix.Frank wrote: > > Hi, > > this is really, really meta (http://xkcd.com/917/). > Nevertheless, I nailed it? > I'm a little cautious of building something like this: > http://thedailywtf.com/Articles/The_Enterprise_Rules_Engine.aspx > Oh, come

[Puppet Users] Best practice for creating resources out of Hiera?

2014-04-27 Thread John Morton
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