Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 9 commits into from

Conversation

helldorado
Copy link
Contributor

String#each is no longer available in Ruby 1.9, useString#each_line` instead.

Debug Examples:
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

add listen_port on rewrite_www_to_non_www
Adding the port in case it is not by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant