configuration to ini

This commit is contained in:
Antonio J. Delgado 2023-03-11 22:29:13 +02:00
parent d4bb6da235
commit 1fea1dd134

View file

@ -74,7 +74,8 @@ class grafana (
env => $env, env => $env,
} }
file { "${container_config_folder}/grafana.ini": file { "${container_config_folder}/grafana.ini":
content => template('grafana/grafana.ini.erb'), # content => template('grafana/grafana.ini.erb'),
content => wmflib::ini($configuration),
} }
} }
podman::container { $container_name: podman::container { $container_name:
@ -85,7 +86,6 @@ class grafana (
}, },
} }
file { $ldap_config_file: file { $ldap_config_file:
ensure => file,
content => to_toml($ldap_config), content => to_toml($ldap_config),
} }
} }