diff --git a/manifests/naemon_monitor.pp b/manifests/naemon_monitor.pp index adf901f6..b28bb72e 100644 --- a/manifests/naemon_monitor.pp +++ b/manifests/naemon_monitor.pp @@ -16,6 +16,7 @@ String $histou_tag = 'latest', String $nagflux_tag = 'latest', String $grafana_tag = '11.1.4', + String $grafana_default_role = 'Viewer', String $loki_tag = '3.1.1', String $mimir_tag = '2.13.0', String $tempo_tag = '2.6.0', diff --git a/templates/naemon_monitor/grafana.ini b/templates/naemon_monitor/grafana.ini index 56173956..efe5f061 100644 --- a/templates/naemon_monitor/grafana.ini +++ b/templates/naemon_monitor/grafana.ini @@ -8,6 +8,7 @@ root_url = https://<%= @domain %>/grafana/ [users] default_theme = light allow_sign_up = false +auto_assign_org_role = <%= @grafana_default_role %> [auth] disable_signout_menu = true