----- Original Message ----- > From: "jcbollinger" <john.bollin...@stjude.org> > To: puppet-users@googlegroups.com > Sent: Wednesday, April 30, 2014 3:15:03 PM > Subject: [Puppet Users] Re: Looking for a better way to use hiera hashes than > create_resources > > > > On Tuesday, April 29, 2014 11:37:02 AM UTC-5, Alex Scoble wrote: > > > > Hi John, > > > > Thanks so much for your feedback. It's extremely useful for me at this > > stage of my education in the Puppet DSL. > > > > Here is the Puppet Users group thread where R.I. Pienaar said that he felt > > that using create_resources() was bad: > > https://groups.google.com/forum/?fromgroups#!searchin/puppet-users/create_resources$20pienaar/puppet-users/lxYDKf7dgc0/TppS_7BFB9IJ > > > > > For the record, then, R.I. said "I dont tend to use create_resources as I > consider it about as bad as eval() :) ". I hardly find that an emphatic > and categorical condemnation. In fact, I think that lines up relatively > well with my own position on the matter, expressed earlier in this thread.
And I still think that, unfortunately there are often few other options. Today you should just suck it up and use the future parser and loop the data though, it seems to be speedy enough and relatively stable, syntax has been locked down etc. I've not followed this thread too closely but I'd hope the f.parser iterating your hashes/arrays should do all you need. If not it's probably worth highlighting those. ie. the closer to reality the f.parser becomes the less you should be using create_resources. -- 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/1444896807.322.1398867543907.JavaMail.zimbra%40devco.net. For more options, visit https://groups.google.com/d/optout.