Fix syntax "each" for ruby1.9 => each_line

String#each` is no longer available in Ruby 1.9, use `String#each_line` instead.

Debug:
Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template nginx/vhost/vhost_footer.erb:
  Filepath: /etc/puppet/modules/nginx/templates/vhost/vhost_footer.erb
  Line: 1
  Detail: undefined method `each' for "global/security.conf":String