On Friday, September 7, 2012 2:01:13 PM UTC+1, ctrlc-root wrote: > > Well, 3 years old or not, this is still in the first page of google > results haha. I'm running puppet version 2.7.9 and the result of that > template is a blank comment line for every instance of the Firewall::Rule > type. If I replace 'resource[:comment]' with 'resource.type' then I can > confirm that the iteration is actually working, because I see comment lines > like this '# Firewall::Rule'. I tried 'resources["comment"]', > 'resources[:comment]', and 'resources.comment' (with this one triggering an > error). > > I wish there was some easy way to get an interactive ruby shell running > with the same environment so I could actually test this without running > puppet apply every time, if I could I probably would have figured it out on > my own already. If you don't know what the answer is, could you maybe point > me in the general direction of how you would find out? Perhaps a relevant > part of the puppet source code? And thanks for answering. >
I just got through Google to this post - have you guys managed to find a final solution for this? -- 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/-/fBUhRdGElW8J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.