ajjahn/puppet-dns — pull request #10 by 9minutesnooze (2012-11-30 23:19:12+00:00)
Title: Syntax error when using strings

I was having trouble when the data parameter in a zone record was a string instead of an array (as is the case for CNAMEs). Ruby 1.9 deprecated implicit (and explicit) .to_a for the String type, so I created an interim variable in zone_record.rb called data_a that explicitly casts String to Array.