no netowkr host

This commit is contained in:
Antonio J. Delgado 2023-02-13 13:35:56 +02:00
parent 2342c6fcb7
commit de4d364840

View file

@ -24,7 +24,6 @@ class prometheus (
"${container_volume_name}:/prometheus",
],
env => $env,
network => 'host',
}
} else {
user { $system_user:
@ -47,7 +46,6 @@ class prometheus (
"${container_config_folder}:/etc/prometheus",
],
env => $env,
network => 'host',
}
file { "${container_config_folder}/prometheus.yml":
content => template('prometheus/prometheus.yml.erb'),