diff --git a/data/defaults.yaml b/data/defaults.yaml index e05ec137..243f63c6 100644 --- a/data/defaults.yaml +++ b/data/defaults.yaml @@ -116,13 +116,6 @@ prometheus::process_exporter::package_name: 'process-exporter' prometheus::process_exporter::service_name: 'process-exporter' prometheus::process_exporter::user: 'process-exporter' prometheus::process_exporter::config_path: '/etc/process-exporter.yaml' -prometheus::pushgateway::download_extension: 'tar.gz' -prometheus::pushgateway::download_url_base: 'https://github.com/prometheus/pushgateway/releases' -prometheus::pushgateway::extra_groups: [] -prometheus::pushgateway::group: 'pushgateway' -prometheus::pushgateway::package_ensure: 'latest' -prometheus::pushgateway::package_name: 'pushgateway' -prometheus::pushgateway::user: 'pushgateway' prometheus::rabbitmq_exporter::download_extension: 'tar.gz' prometheus::rabbitmq_exporter::download_url_base: 'https://github.com/kbudde/rabbitmq_exporter/releases' prometheus::rabbitmq_exporter::extra_groups: [] diff --git a/manifests/pushgateway.pp b/manifests/pushgateway.pp index 3e76a60d..d2a693ec 100644 --- a/manifests/pushgateway.pp +++ b/manifests/pushgateway.pp @@ -48,13 +48,13 @@ # @param proxy_type # Optional proxy server type (none|http|https|ftp) class prometheus::pushgateway ( - String[1] $download_extension, - String[1] $download_url_base, - Array $extra_groups, - String[1] $group, - String[1] $package_ensure, - String[1] $package_name, - String[1] $user, + String[1] $download_extension = 'tar.gz', + String[1] $download_url_base = 'https://github.com/prometheus/pushgateway/releases', + Array $extra_groups = [] , + String[1] $group = 'pushgateway', + String[1] $package_ensure = 'latest', + String[1] $package_name = 'pushgateway', + String[1] $user = 'pushgateway', # renovate: depName=prometheus/pushgateway String[1] $version = '1.9.0', Boolean $restart_on_change = true,