----- Original Message ----- > Btw, Rip or anyone, any suggestion on how to sort alphabetically the > scope variables so that the generated yaml doesn't change at (almost) > every puppet run? > > content => inline_template("<%= scope.to_hash.reject { |k,v| k.to_s > =~ /(uptime_seconds|timestamp|free)/ }.to_yaml %>")
no, unfortunately the usual method for doing this with yaml doesnt work in puppet, probably because of their yaml not being normal yaml. http://snippets.dzone.com/posts/show/5811 maybe one of the devs can say, I tried various methods non that I didnt consider a hack would work. I also filed a bug to see if certain resources can be excluded from reporting but this got no love -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.