IvanBayan/puppet-krb5 — pull request #6 by razorsedge (2013-11-07 19:58:20+00:00)
Title: `String#each` is no longer available in Ruby 1.9.

`String#each` is no longer available in Ruby 1.9, use `String#each_line` instead.
https://projects.puppetlabs.com/issues/12268

I have not tested this on Ruby 1.8.