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

prohibit empty service_provider fact #330

Merged
merged 1 commit into from
Jul 12, 2019
Merged

prohibit empty service_provider fact #330

merged 1 commit into from
Jul 12, 2019

Conversation

bastelfreak
Copy link
Member

This module depends on the variable prometheus::init_style being set
to a string. The default is the service_provider fact from stdlib.
To enforce this, we set the minimal string length for
prometheus::init_style.

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@zonArt
Copy link

zonArt commented Jul 2, 2019

I'd also remove the if statement on init_style to avoid confusion as it becomes totally useless with this PR

This module depends on the variable `prometheus::init_style` being set
to a string. The default is the `service_provider` fact from stdlib.
To enforce this, we set the minimal string length for
`prometheus::init_style`.
@bastelfreak
Copy link
Member Author

Thanks for the review!

Copy link
Member

@Dan33l Dan33l 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 merged commit 0105ec3 into voxpupuli:master Jul 12, 2019
@bastelfreak bastelfreak deleted the bla2 branch July 12, 2019 08:05
cegeka-jenkins pushed a commit to cegeka/puppet-prometheus that referenced this pull request Aug 28, 2019
prohibit empty service_provider fact
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
prohibit empty service_provider fact
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.

4 participants