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 support for mesos exporter #59

Merged
merged 1 commit into from
Nov 14, 2017

Conversation

tahaalibra
Copy link

This PR adds support for mesos exporter. Please review

$version = $::prometheus::params::mesos_exporter_version,
) inherits prometheus::params {
$real_download_url = pick($download_url,"${download_url_base}/download/v${version}/${package_name}-${version}.${os}-${arch}.${download_extension}")
validate_bool($purge_config_dir)
Copy link
Member

Choose a reason for hiding this comment

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

Could you replace those validate function calls with native puppet datatypes?

@tahaalibra
Copy link
Author

@bastelfreak now using inbuilt puppet datatype

@bastelfreak
Copy link
Member

Sorry, I was a bit unclear. Please add datatypes to all params. There are multiple classes in this module that you can use as an example. Please also check the used email address in your commit. It isn't associated with your github account/

Author:    Tahaa Karim <tahaalibra@gmail.com>
@tahaalibra
Copy link
Author

@bastelfreak hi, yea i was thinking that maybe datatype should be added to other params. I added the params also a squashed the commit, i hope that will be fine

@bastelfreak
Copy link
Member

Can you take a look at the failing acceptance test?

@tahaalibra
Copy link
Author

yea sure

@tuxmea
Copy link
Member

tuxmea commented Nov 14, 2017

I restarted the failing job. now tests are green.

@tahaalibra
Copy link
Author

thanks @tuxmea

@bastelfreak bastelfreak merged commit bed7d29 into voxpupuli:master Nov 14, 2017
@bastelfreak bastelfreak added the enhancement New feature or request label Nov 14, 2017
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
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants