Skip to content

Commit

Permalink
pushgateway_exporter: Move data from hiera to puppet class
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jan 2, 2025
1 parent 8c0b8a0 commit c29cbb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
7 changes: 0 additions & 7 deletions data/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand Down
14 changes: 7 additions & 7 deletions manifests/pushgateway.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c29cbb9

Please sign in to comment.