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

Add service_enable parameter to sentinel.pp #307

Merged
merged 4 commits into from
Apr 17, 2019

Conversation

rschemm-godaddy
Copy link
Contributor

@rschemm-godaddy rschemm-godaddy commented Apr 9, 2019

Pull Request (PR) description

Add service_enable parameter to sentinel.pp so that the state of sentinel on boot can be controlled independently of redis.

This Pull Request (PR) fixes the following issues

… to enable/disable the service at boot time.
Copy link
Member

@towo towo left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@bastelfreak
Copy link
Member

Hi @rschemm, thanks for the PR. Can you please check the used email address in your commit? It isn't associated with your github account.

@@ -190,6 +195,7 @@
$service_group = $::redis::params::service_group,
$service_name = $::redis::params::sentinel_service_name,
$service_ensure = $::redis::params::service_ensure,
$service_enable = $::redis::params::service_enable,
Copy link
Member

Choose a reason for hiding this comment

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

Please add a datatype for the new parameter and a unit test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Datatype added and email address updated, good catch.

@bastelfreak bastelfreak added enhancement New feature or request needs-tests labels Apr 10, 2019
@bastelfreak bastelfreak merged commit 950e9e3 into voxpupuli:master Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants