"description":"When provided, this is used as netloc in the CRL distribution point extension in issued certificates. Setting up that domain and routing accesses to the IP and ports caucased binds to is outside the scope of this software-release. Otherwise, instead of the caucased bind IP and port are used (preventing caucased relocation).",
"type":"string",
"format":"uri"
},
"service-auto-approve-amount":{
"service-auto-approve-amount":{
"title":"Number of service certificate requests to automatically approve",
"title":"Number of service certificate requests to automatically approve",
"description":"Once that number has been reached, a user must validate further requests. Renewals do not count toward this number. Cannot be changed once set.",
"description":"Once that number has been reached, a user must validate further requests. Renewals do not count toward this number. Cannot be changed once set.",
...
@@ -25,9 +31,15 @@
...
@@ -25,9 +31,15 @@
"type":"integer",
"type":"integer",
"default":1
"default":1
},
},
"backup-period":{
"title":"Backup period",
"description":"Number of days between consecutive backups (0 to disable backup creation).",
"type":"number",
"default":0
},
"key-length":{
"key-length":{
"title":"Key length",
"title":"Key length",
"description":"Size, in bits, of the SSL key generated to authenticate users.",
"description":"Size, in bits, of the SSL CAs (users and services) private keys generated by caucased.",
"description":"Unique identifier of the additional frontend instance, like \"SOFTINST-11031\", if empty won't be requested.",
"description":"Unique identifier of the additional frontend instance, like \"SOFTINST-11031\". Note that if the 3 options 'frontend-additional-instance-guid', 'frontend-additional-software-type' and 'frontend-additional-software-url' are empty, the additional frontend won't be requested.",
"type":"string"
"type":"string"
},
},
"frontend-additional-software-type":{
"frontend-additional-software-type":{
"title":"Additional Frontend Software Type",
"title":"Additional Frontend Software Type",
"description":"Type of the frontend instance, like \"default\".",
"description":"Type of the additional frontend instance, like \"default\". Note that if the 3 options 'frontend-additional-instance-guid', 'frontend-additional-software-type' and 'frontend-additional-software-url' are empty, the additional frontend won't be requested.",
"type":"string",
"type":"string",
"default":"default"
"default":"default"
},
},
"frontend-additional-software-url":{
"frontend-additional-software-url":{
"title":"Additional Frontend Software URL",
"title":"Additional Frontend Software URL",
"description":"Software Release URL of the frontend instance, like \"http://example.com/path/to/software.cfg\".",
"description":"Software Release URL of the additional frontend instance, like \"http://example.com/path/to/software.cfg\". Note that if the 3 options 'frontend-additional-instance-guid', 'frontend-additional-software-type' and 'frontend-additional-software-url' are empty, the additional frontend won't be requested.",
{% set slave_frontend_iguid = slave_frontend_dict.get('instance-guid', '') -%}
{% set slave_frontend_iguid = slave_frontend_dict.get('instance-guid', '') -%}
{% set WEBSOCKET_FRONTEND_DEFAULT_SR = 'http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg' %}
{% set WEBSOCKET_FRONTEND_DEFAULT_SR = 'http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg' %}
{% set WEBSOCKET_FRONTEND_DEFAULT_ST = 'default' %}
{% set WEBSOCKET_FRONTEND_DEFAULT_ST = 'default' %}
{% set additional_frontend = frontend_dict.get('frontend-additional-instance-guid') or frontend_dict.get('frontend-additional-software-type') or frontend_dict.get('frontend-additional-software-url')%}
"description":"Unique identifier of the additional frontend instance, like \"SOFTINST-11031\", if empty won't be requested.",
"description":"Unique identifier of the additional frontend instance, like \"SOFTINST-11031\". Note that if the 3 options 'frontend-additional-instance-guid', 'frontend-additional-software-type' and 'frontend-additional-software-url' are empty, the additional frontend won't be requested.",
"type":"string"
"type":"string"
},
},
"frontend-additional-software-type":{
"frontend-additional-software-type":{
"title":"Additional Frontend Software Type",
"title":"Additional Frontend Software Type",
"description":"Type of the frontend instance, like \"frontend\".",
"description":"Type of the additional frontend instance, like \"frontend\". Note that if the 3 options 'frontend-additional-instance-guid', 'frontend-additional-software-type' and 'frontend-additional-software-url' are empty, the additional frontend won't be requested.",
"type":"string",
"type":"string",
"default":"default"
"default":"default"
},
},
"frontend-additional-software-url":{
"frontend-additional-software-url":{
"title":"Additional Frontend Software URL",
"title":"Additional Frontend Software URL",
"description":"Software Release URL of the frontend instance, like \"http://example.com/path/to/software.cfg\".",
"description":"Software Release URL of the additional frontend instance, like \"http://example.com/path/to/software.cfg\". Note that if the 3 options 'frontend-additional-instance-guid', 'frontend-additional-software-type' and 'frontend-additional-software-url' are empty, the additional frontend won't be requested.",
{% set monitor_dict = {'parameter': monitor_parameter, 'return': monitor_return} -%}
{% set monitor_dict = {'parameter': monitor_parameter, 'return': monitor_return} -%}
{% endif -%}
{% endif -%}
{% set monitor_interface_url = slapparameter_dict.pop('monitor-interface-url', 'https://monitor.app.officejs.com') -%}
{% set monitor_interface_url = slapparameter_dict.pop('monitor-interface-url', 'https://monitor.app.officejs.com') -%}
{% set additional_frontend = (slapparameter_dict.get('frontend-additional-instance-guid', '').strip() != '') %}
{% set additional_frontend = slapparameter_dict.get('frontend-additional-instance-guid') or slapparameter_dict.get('frontend-additional-software-type') or slapparameter_dict.get('frontend-additional-software-url')%}
{% set additional_frontend = slapparameter_dict.get('frontend-additional-instance-guid') %}
{% set additional_frontend = slapparameter_dict.get('frontend-additional-instance-guid') or slapparameter_dict.get('frontend-additional-software-type') or slapparameter_dict.get('frontend-additional-software-url')%}
{% set enable_http = slapparameter_dict.get('enable-http-server', False) -%}
{% set enable_http = slapparameter_dict.get('enable-http-server', False) -%}
{% set use_tap = slapparameter_dict.get('use-tap', True) -%}
{% set use_tap = slapparameter_dict.get('use-tap', True) -%}
{% set use_nat = slapparameter_dict.get('use-nat', True) -%}
{% set use_nat = slapparameter_dict.get('use-nat', True) -%}
"description":"Unique identifier of the additional frontend instance, like \"SOFTINST-11031\", if empty won't be requested.",
"description":"Unique identifier of the additional frontend instance, like \"SOFTINST-11031\". Note that if the 3 options 'additional-frontend-guid', 'additional-frontend-sr-type' and 'additional-frontend-sr' are empty, the additional frontend won't be requested.",
"type":"string"
"type":"string"
},
},
"additional-frontend-sr":{
"additional-frontend-sr":{
"title":"Additional Frontend Software URL",
"title":"Additional Frontend Software URL",
"description":"Software Release URL of the frontend instance, like \"http://example.com/path/to/software.cfg\".",
"description":"Software Release URL of the frontend instance, like \"http://example.com/path/to/software.cfg\". Note that if the 3 options 'additional-frontend-guid', 'additional-frontend-sr-type' and 'additional-frontend-sr' are empty, the additional frontend won't be requested.",
"description":"Type of the frontend instance, like \"frontend\".",
"description":"Type of the frontend instance, like \"frontend\". Note that if the 3 options 'additional-frontend-guid', 'additional-frontend-sr-type' and 'additional-frontend-sr' are empty, the additional frontend won't be requested.",
# compute additional_frontend before resolving the defaults
{%- set additional_frontend = parameter_dict.get('additional-frontend-guid') or parameter_dict.get('additional-frontend-sr') or parameter_dict.get('additional-frontend-sr-type') %}
{%- set parameter_dict = dict(default_parameter_dict, **parameter_dict) %}
{%- set parameter_dict = dict(default_parameter_dict, **parameter_dict) %}
{%- set additional_frontend = parameter_dict['additional-frontend-guid'] %}
{%- set embedded_instance_config = parameter_dict['initial-embedded-instance'] %}
{%- set embedded_instance_config = parameter_dict['initial-embedded-instance'] %}