Skip to content
This repository was archived by the owner on May 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions molecule/alternative/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
admin_password: "password"
grafana_address: "127.0.0.1"
grafana_auth:
login_maximum_inactive_lifetime_days: 42
disable_login_form: false
oauth_auto_login: false
disable_signout_menu: false
Expand Down
5 changes: 5 additions & 0 deletions molecule/alternative/tests/test_alternative.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ def test_alternative_yum_repo(host):
if host.system_info.distribution in ['centos', 'redhat', 'fedora']:
f = host.file("/etc/yum.repos.d/alternative.grafana.yum.repo")
assert f.exists


def test_custom_auth_option(host):
f = host.file("/etc/grafana/grafana.ini")
assert f.contains("login_maximum_inactive_lifetime_days = 42")