It's been suggested that I just create the output string in code, which works fine. I've put a working version in the gist.
> https://gist.github.com/907330 -- Arthur Clune art...@clune.org -- 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.