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

fix notify $service_name in the alertmanager #222

Merged
merged 1 commit into from
Jun 25, 2018
Merged

fix notify $service_name in the alertmanager #222

merged 1 commit into from
Jun 25, 2018

Conversation

thde
Copy link

@thde thde commented Jun 25, 2018

Pull Request (PR) description

Fixes the alertmanager config file to notify the configured service.

This Pull Request (PR) fixes the following issues

n/a

Copy link
Member

@alexjfisher alexjfisher left a comment

Choose a reason for hiding this comment

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

This doesn’t look correct to me.

notify => Service[$notify_service],

instead ?

@alexjfisher
Copy link
Member

My mistake. I see $notify_service is already a reference to the service resource.

@alexjfisher alexjfisher dismissed their stale review June 25, 2018 06:56

$notify_service is either undef or Service[$service_name]

Copy link
Member

@alexjfisher alexjfisher left a comment

Choose a reason for hiding this comment

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

LGTM

@bastelfreak bastelfreak added the bug Something isn't working label Jun 25, 2018
@bastelfreak
Copy link
Member

Thanks @thde !

@bastelfreak bastelfreak merged commit 757a5b4 into voxpupuli:master Jun 25, 2018
@bastelfreak bastelfreak changed the title fix notify service_name fix notify $service_name in the alertmanager Jun 25, 2018
@born4new
Copy link

born4new commented Jul 3, 2018

@bastelfreak Any ideas when the newest version of the module will be released? I'm just impatient to get this fix 👍

@alexjfisher
Copy link
Member

@born4new I see no reason not to roll a new release. #230

cegeka-jenkins pushed a commit to cegeka/puppet-prometheus that referenced this pull request Aug 28, 2019
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants