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

Allow alternate restart command #249

Closed
wants to merge 1 commit into from

Conversation

tdb
Copy link

@tdb tdb commented Mar 4, 2017

This is inspired by the puppetlabs-apache module. It allows for an alternate restart command to be used to restart the service, rather than completely stopping and starting it.

I'm using this to call reload on the service instead of restart. If the configuration is broken this fails the Puppet run (because reload checks the config before proceeding) rather than stopping and then failing to start Icinga, which is not desirable. This might not suit everyone thus making it optional.

If no additional parameter is given when calling the icinga2 class this change is a noop, so it won't affect any existing installations.

@lbetz
Copy link
Contributor

lbetz commented Mar 6, 2017

A restart isn't necessary for Icinga 2. So we can replace the default restart with a generally reload.

@bobapple
Copy link
Contributor

bobapple commented Mar 8, 2017

Related to #250

@bobapple
Copy link
Contributor

Closed in favour of 671f407

@bobapple bobapple closed this Mar 13, 2017
@tdb tdb deleted the feature/service-restart branch March 13, 2017 14:25
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.

3 participants