[Puppet Users] Re: for i in array do something - iteration irritation

2012-11-07 Thread earthgecko
Hi John Thanks, that will solve my immediate requirement. Trying to keep it as puppet DSL and simple as possible. However, I will check out the create_resources() function further. Thanks for the pointers. -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: for i in array do something - iteration irritation

2012-11-07 Thread jcbollinger
On Wednesday, November 7, 2012 3:15:15 PM UTC-6, earthgecko wrote: > > Hi > > I am sure that there is some way to iterate an array and do something for > each in. It must be a wheel that has been invented (even if in a ruby > function)? > > I have needed to do something like this a few times n

[Puppet Users] Re: for i in array do something - iteration irritation

2012-11-07 Thread earthgecko
Apologies app::thing { 'foo': config_templates = ['foo.conf', 'foo.more.conf'] } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/tsXtAlEp-8sJ. To post to