jfryman/puppet-nginx — pull request #121 by abraham1901 (2013-08-23 09:08:17+00:00)
Title: * Bug fix, remove each_line method

Class Array don't have method each_line on ruby 1.8.x, 1.9.x, 2.0.x

proxy_set_header - array
try_files - array
index_files -array
include_files - array
vhost_cfg_append - array

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template nginx/vhost/vhost_location_directory.erb:
Filepath: /usr/lib/ruby/vendor_ruby/rgen/array_extensions.rb
Line: 25
Detail: undefined method `each_line' for ["index.php", "index.html", "index.htm"]:Array
at /etc/puppet/modules/nginx/manifests/resource/location.pp:148 on node xxx
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run