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

remove servername_real #320

Merged
merged 1 commit into from
Aug 26, 2013
Merged

Conversation

kitchen
Copy link
Contributor

@kitchen kitchen commented Aug 25, 2013

previously, if you did this:
apache::vhost { 'foo.example.com':
docroot => '/var/www/foo',
}

puppet would error, saying you need to specify servername and/or ip
and/or port.

but why?

just default to $name, as $servername_real was already sorta doing, but
it wasn't being fully utilized.

this commit gets rid of $servername_real and just makes $servername
default to $name if it's not specified, which is what I would expect it
to do anyways!

previously, if you did this:
apache::vhost { 'foo.example.com':
    docroot => '/var/www/foo',
}

puppet would error, saying you need to specify servername and/or ip
and/or port.

but why?

just default to $name, as $servername_real was already sorta doing, but
it wasn't being fully utilized.

this commit gets rid of $servername_real and just makes $servername
default to $name if it's not specified, which is what I would expect it
to do anyways!
@hunner
Copy link
Contributor

hunner commented Aug 26, 2013

Thanks! This must be a historical artifact of code refactoring.

hunner added a commit that referenced this pull request Aug 26, 2013
@hunner hunner merged commit 66efc82 into puppetlabs:master Aug 26, 2013
traylenator pushed a commit to traylenator/puppetlabs-apache that referenced this pull request Jun 7, 2022
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.

None yet

3 participants