Commit aaefd3fc authored by Alain Takoudjou's avatar Alain Takoudjou

apache-frontend: software-type default goes to custom-personal

parent 678d50bd
......@@ -72,7 +72,7 @@ mode = 0644
[template-apache-replicate]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-apache-replicate.cfg.in
md5sum = aafa98333cd51025938b33c2516f0b8d
md5sum = bf3de2d814110d4af8efb5b7b165665b
mode = 0644
[template-slave-list]
......
......@@ -15,7 +15,9 @@ context =
{% set part_list = [] -%}
{% set single_type_key = 'single-' %}
{% if slap_software_type in ("replicate", "RootSoftwareInstance") %}
{% set frontend_type = slapparameter_dict.pop('-frontend-type', 'single-default') -%}
{% set frontend_type = slapparameter_dict.pop('-frontend-type', 'custom-personal') -%}
{% elif slap_software_type == 'default' -%}
{% set frontend_type = "%s%s" % (single_type_key, 'custom-personal') -%}
{% else -%}
{% set frontend_type = "%s%s" % (single_type_key, slap_software_type) -%}
{% endif -%}
......
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