Commit 8a040a74 authored by Lisa Casino's avatar Lisa Casino

html5as: add monitoring stack

parent 1f8c82c2
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
[template-cfg] [template-cfg]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = feb337447d23df4c5f986884b625806a md5sum = e096e08f453eeb27d8653eddc87b31cc
[instance_html5as] [instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in _update_hash_filename_ = instance_html5as.cfg.in
md5sum = f4550fff382a25c4e41ad6b170e118c0 md5sum = 6fa9e009c45f24ff2169f2c68cd1ce97
[template_nginx_conf] [template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in _update_hash_filename_ = templates/nginx_conf.in
......
...@@ -16,6 +16,7 @@ template_mime_types = {{ template_mime_types_target }} ...@@ -16,6 +16,7 @@ template_mime_types = {{ template_mime_types_target }}
template_launcher = {{ template_launcher_target }} template_launcher = {{ template_launcher_target }}
template_index_html = {{ template_index_html_target }} template_index_html = {{ template_index_html_target }}
template_graceful = {{ template_graceful_target }} template_graceful = {{ template_graceful_target }}
template_monitor = {{ template_monitor }}
[instance-html5as] [instance-html5as]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
...@@ -32,7 +33,7 @@ default-parameters = ...@@ -32,7 +33,7 @@ default-parameters =
{ {
"title": "Tutorial html5as", "title": "Tutorial html5as",
"download_url": "", "download_url": "",
"port": 8081 "port": 8081,
} }
[switch-softwaretype] [switch-softwaretype]
......
...@@ -21,6 +21,9 @@ eggs-directory = {{ buildout['eggs-directory'] }} ...@@ -21,6 +21,9 @@ eggs-directory = {{ buildout['eggs-directory'] }}
develop-eggs-directory = {{ buildout['develop-eggs-directory'] }} develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
offline = true offline = true
# Instance profile extends monitoring stack
extends = {{ parameter_list['template_monitor'] }}
# partition tree # partition tree
# / # /
# |- etc/ # |- etc/
......
...@@ -6,6 +6,8 @@ extends = ...@@ -6,6 +6,8 @@ extends =
# "slapos" stack describes basic things needed for 99.9% of SlapOS Software # "slapos" stack describes basic things needed for 99.9% of SlapOS Software
# Releases # Releases
../../stack/slapos.cfg ../../stack/slapos.cfg
# Extend monitoring stack to provide necessary tools for monitoring
../../stack/monitor/buildout.cfg
# Extend here component profiles, like openssl, apache, mariadb, curl... # Extend here component profiles, like openssl, apache, mariadb, curl...
# Or/and extend a stack (lamp, tomcat) that does most of the work for you # Or/and extend a stack (lamp, tomcat) that does most of the work for you
# In this example we extend needed components for html5as. # In this example we extend needed components for html5as.
...@@ -44,6 +46,7 @@ context = ...@@ -44,6 +46,7 @@ context =
key template_instance_html5as_target instance_html5as:target key template_instance_html5as_target instance_html5as:target
key template_index_html_target template_index_html:target key template_index_html_target template_index_html:target
key template_graceful_target template_graceful:target key template_graceful_target template_graceful:target
key template_monitor monitor2-template:rendered
[download-base] [download-base]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
......
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