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 vhosts listen to wildcard ip #1335

Merged
merged 1 commit into from
Jan 19, 2016

Conversation

timogoebel
Copy link
Contributor

apache::vhost { 'test':
  ip => '*',
}

currently fails. This PR fixes the behavior.

end

return result.flatten.compact
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be appreciated if you could explain why it is ok that this can be removed, and how it related to wildcard vhosts, thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's because I changed result = [result,val] to result << val which makes more sense. input is already flattened in line 27, so we do not need to flatten it once again.

jonnytdevops added a commit that referenced this pull request Jan 19, 2016
@jonnytdevops jonnytdevops merged commit 2c67206 into puppetlabs:master Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants