Skip to content

Commit

Permalink
puppetlabs/stdlib: Require 9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
hashworks committed Jun 5, 2023
1 parent e70680a commit 0838eeb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
# $scrape_configs in the template
$collected_scrape_jobs = $prometheus::server::collect_scrape_jobs.map |$job_definition| {
$job_name = $job_definition['job_name']
merge($job_definition, {
stdlib::merge($job_definition, {
file_sd_configs => [{
files => ["${prometheus::config_dir}/file_sd_config.d/${job_name}_*.yaml"]
}]
Expand Down
2 changes: 1 addition & 1 deletion manifests/node_exporter.pp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
}
}

$web_config_content = merge($tls_server_config, $http_server_config, $basic_auth_config)
$web_config_content = stdlib::merge($tls_server_config, $http_server_config, $basic_auth_config)

if empty($web_config_content) {
file { $web_config_file:
Expand Down
2 changes: 1 addition & 1 deletion manifests/rabbitmq_exporter.pp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
'RABBIT_EXPORTERS' => join($rabbit_exporters, ','),
}

$real_env_vars = merge($env_vars, $extra_env_vars)
$real_env_vars = stdlib::merge($env_vars, $extra_env_vars)

prometheus::daemon { 'rabbitmq_exporter':
install_method => $install_method,
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 4.25.0 < 9.0.0"
"version_requirement": ">= 9.0.0 < 10.0.0"
},
{
"name": "puppet/systemd",
Expand Down

0 comments on commit 0838eeb

Please sign in to comment.