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

Adds parameter for enabling Tomcat service on boot #77

Merged
merged 1 commit into from Mar 17, 2015

Conversation

bmjen
Copy link
Contributor

@bmjen bmjen commented Mar 17, 2015

@@ -42,6 +47,10 @@
fail('$service_name must be specified when $use_init is set to true')
}

if $service_enable != undef and ! $use_init {
fail('$use_init must be set to true when $service_enable is set')
Copy link
Contributor

Choose a reason for hiding this comment

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

This should just be a warning, not a fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm. What would happen if we allowed service to be enabled when there is not init script?

@bmjen bmjen force-pushed the add-enable-attr-to-service branch from 02f39c0 to bda8b74 Compare March 17, 2015 15:36
underscorgan pushed a commit that referenced this pull request Mar 17, 2015
Adds parameter for enabling Tomcat service on boot
@underscorgan underscorgan merged commit 35a08cc into puppetlabs:master Mar 17, 2015
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