Commit 2fd398a3 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Łukasz Nowak

stack/lamp: Use modern monitor-publish

parent 0f71d88f
......@@ -22,7 +22,7 @@ md5sum = a20bb27c0077b5a7252bda06ba7e069d
[instance-lamp]
filename = instance-lamp.cfg.jinja2.in
md5sum = 7bac7f3a034e2afeaf479622ef18fb69
md5sum = 52b76d3c8aa23f467db33e32a2b50ed6
[template-apache.conf]
filename = apache.conf.in
......
......@@ -105,14 +105,11 @@ password = ${publish-early:monitor-password}
[monitor-conf-parameters]
[publish-connection-information]
<= monitor-publish
recipe = slapos.cookbook:publish
{% for name, value in publish_dict.items() -%}
{{ name }} = {{ value }}
{% endfor %}
{% set monitor_interface_url = slapparameter_dict.get('monitor-interface-url', 'https://monitor.app.officejs.com') -%}
monitor-setup-url = {{ monitor_interface_url }}/#page=settings_configurator&url=${monitor-publish-parameters:monitor-url}&username=${monitor-publish-parameters:monitor-user}&password=${monitor-publish-parameters:monitor-password}
monitor-password = ${publish-early:monitor-password}
monitor-user = ${monitor-publish-parameters:monitor-user}
{% do part_list.append('monitor-base') -%}
[buildout]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment