Add admin password

This commit is contained in:
Antonio J. Delgado 2023-02-10 19:36:30 +02:00
parent cac298d490
commit 89c84d9ca4
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,6 @@
# Class Grafana
class grafana (
$admin_password,
$container_name = 'grafana',
$container_image_name = 'grafana/grafana-oss',
$container_image_version = 'latest',
@ -54,6 +55,7 @@ class grafana (
"GF_PATHS_PLUGINS=${container_data_folder}/plugins",
"GF_PATHS_PROVISIONING=${container_config_folder}/provisioning",
'GF_LOG_MODE=console file',
"GF_SECURITY_ADMIN_USER=${admin_password}",
]
podman::image { $container_name:
image => $container_image_name,

View file

@ -6,5 +6,3 @@
<% end -%>
<% end -%>
?>