diff --git a/molecule/alternative/playbook.yml b/molecule/alternative/playbook.yml index 022ea4ef..1c7fae88 100644 --- a/molecule/alternative/playbook.yml +++ b/molecule/alternative/playbook.yml @@ -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 diff --git a/molecule/alternative/tests/test_alternative.py b/molecule/alternative/tests/test_alternative.py index 3d78a26c..c8903add 100644 --- a/molecule/alternative/tests/test_alternative.py +++ b/molecule/alternative/tests/test_alternative.py @@ -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")