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 duplicate command line options in SysV script #427

Merged
merged 1 commit into from
Feb 17, 2020

Conversation

lukebigum
Copy link
Contributor

Fixes a duplication error in the prometheus SysV template; $prometheus::server::extra_options is already concatenated onto $daemon_flags and so will get written to the file twice, sometimes causing start issues:

Error parsing commandline arguments: flag 'web.external-url' cannot be repeated

@bastelfreak bastelfreak added the bug Something isn't working label Feb 17, 2020
@bastelfreak
Copy link
Member

I reviewed the current code. daemon_flags already contains extra_options, so we can drop it.

@bastelfreak bastelfreak merged commit 2c022fd into voxpupuli:master Feb 17, 2020
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
Fix duplicate command line options in SysV script
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.

2 participants