-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Conversation
manifests/mesos_exporter.pp
Outdated
$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) |
There was a problem hiding this comment.
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?
@bastelfreak now using inbuilt puppet datatype |
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 <[email protected]>
2af013c
to
b8a6b12
Compare
@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 |
Can you take a look at the failing acceptance test? |
yea sure |
I restarted the failing job. now tests are green. |
thanks @tuxmea |
Add support for mesos exporter
Add support for mesos exporter
This PR adds support for mesos exporter. Please review