Skip to content

Commit

Permalink
Make it possible to set default role for grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
mickenordin committed Oct 22, 2024
1 parent a3bb3e3 commit cc9a741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/naemon_monitor.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions templates/naemon_monitor/grafana.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc9a741

Please sign in to comment.