example42 / puppet-splunk

Splunk Puppet Module
http://www.example42.com
Other
12 stars 29 forks source link

Fix string iteration on ruby 1.9 #21

Closed claytono closed 10 years ago

claytono commented 10 years ago

Pre ruby-1.9 you could call "string".each and it would call the block once. Ruby 1.9 don't have an each method on the String class. Work around that by explicitly coaxing the forward_server and monitor_path arguments into arrays.

alvagante commented 10 years ago

+1