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

Configurable service name #534

Merged
merged 2 commits into from
Dec 20, 2014
Merged

Configurable service name #534

merged 2 commits into from
Dec 20, 2014

Conversation

3flex
Copy link
Contributor

@3flex 3flex commented Dec 18, 2014

Rebased #455 and addressed the feedback I'd left.

Closes #455

@@ -109,6 +109,7 @@
$configtest_enable = false,
$service_ensure = running,
$service_restart = '/etc/init.d/nginx configtest && /etc/init.d/nginx restart',
$service_name = 'nginx',
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd prefer an undef here, so that the authoritative source of default stays with the service resource.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can do. What about the other parameters being passed through to that class? Change those to undef, move the defaults to the service class?

@jfryman
Copy link
Contributor

jfryman commented Dec 18, 2014

👍

3flex added a commit that referenced this pull request Dec 20, 2014
@3flex 3flex merged commit 1ae85c5 into voxpupuli:master Dec 20, 2014
@3flex 3flex deleted the configurable_service_name branch December 20, 2014 04:34
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Oct 23, 2017
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.

2 participants