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

postfix exporter support #310

Closed
wants to merge 1 commit into from
Closed

Conversation

anarcat
Copy link

@anarcat anarcat commented Apr 8, 2019

This provides support in the Puppet module for the Postfix exporter. It is a fairly trivial patch, based on the apache_exporter class with small changes.

It does follow the work in #303 to make it work with the Debian package. Note how it uses env_vars to pass the parameters to the .service file: this is a consequence of #303 not overriding the .service file when using the Debian package, and might not work if the .service file is overriden.

@anarcat
Copy link
Author

anarcat commented Apr 25, 2019

ping! i believe this can be merged: it passes tests and doesn't actually require #303...

it would be quite motivating for me to continue working on this module if i could get trivial stuff like this merged in. :)

@dhoppe dhoppe added enhancement New feature or request needs-tests labels Apr 26, 2019
@dhoppe
Copy link
Member

dhoppe commented Apr 26, 2019

@dhoppe
Copy link
Member

dhoppe commented Jun 5, 2019

@anarcat The current tests are not failing, because we do not have any tests for the new exporter. Please add the missing tests and we are able to merge this pull requests.

@anarcat anarcat force-pushed the postfix-exporter branch 3 times, most recently from bb9f313 to 3db0379 Compare June 14, 2019 17:19
@anarcat
Copy link
Author

anarcat commented Jun 14, 2019

like in the bind exporter (#312), i've removed the debian-specific stuff from the YAML config, which belongs to the debian package (#303). To get it working right with the debian setup, the following is required:

prometheus::postfix_exporter::package_name: 'prometheus-postfix-exporter'
prometheus::postfix_exporter::service_name: 'prometheus-postfix-exporter'
prometheus::postfix_exporter::user: 'prometheus'
prometheus::postfix_exporter::group: 'prometheus'

@bastelfreak
Copy link
Member

@anarcat can you please rebase and add a test for this?

@pccibot
Copy link

pccibot commented Aug 28, 2019

Dear @anarcat, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@pccibot
Copy link

pccibot commented Aug 28, 2019

Dear @anarcat, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@anarcat
Copy link
Author

anarcat commented Nov 24, 2019

superseded by #396 thanks @alexjfisher !!!

@anarcat anarcat closed this Nov 24, 2019
@anarcat anarcat deleted the postfix-exporter branch November 24, 2019 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants