commit | 1a5a2372e770a58c736139c69fbe5c6f2cb979d1 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Thu Mar 31 14:13:19 2016 +0200 |
committer | Filip Pytloun <filip@pytloun.cz> | Thu Mar 31 14:13:19 2016 +0200 |
tree | 29811101dc16561b479aa10e249c5182731d90bc | |
parent | 68d325c8a7c2736c9f862687430ae9b8ceaffb33 [diff] |
Allow disabling auth for uchiwa
diff --git a/sensu/files/uchiwa.json b/sensu/files/uchiwa.json index 54a2011..574ab32 100644 --- a/sensu/files/uchiwa.json +++ b/sensu/files/uchiwa.json
@@ -13,8 +13,10 @@ "uchiwa": { "host": "{{ dashboard.bind.address }}", "port": {{ dashboard.bind.port }}, + {%- if dashboard.get('admin', {}).get('username', None) %} "user": "{{ dashboard.admin.username }}", "pass": "{{ dashboard.admin.password }}", + {%- endif %} "refresh": 5 } -} \ No newline at end of file +}