Commit 4725cec5 authored by Vincent Pelletier's avatar Vincent Pelletier

erp5: Use "description" to explain non-literal default values.

parent 3a309a57
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
}, },
"deadlock-debugger-password": { "deadlock-debugger-password": {
"description": "Password for /manage_debug_threads", "description": "Password for /manage_debug_threads",
"default": "random",
"type": "string" "type": "string"
}, },
"inituser-login": { "inituser-login": {
...@@ -37,12 +36,10 @@ ...@@ -37,12 +36,10 @@
}, },
"inituser-password": { "inituser-password": {
"description": "Password of the initial/rescue user", "description": "Password of the initial/rescue user",
"default": "random",
"type": "string" "type": "string"
}, },
"developer-list": { "developer-list": {
"description": "List of logins which should get the Developper role (required to modify portal_components' content)", "description": "List of logins which should get the Developper role (required to modify portal_components' content), defaulting to inituser-login's value",
"default": "inituser-login's value",
"items": { "items": {
"pattern": "/^\\S+$/", "pattern": "/^\\S+$/",
"type": "string" "type": "string"
...@@ -62,17 +59,10 @@ ...@@ -62,17 +59,10 @@
"type": "object" "type": "object"
}, },
"hosts-dict": { "hosts-dict": {
"description": "Hostname-to-IP mapping", "description": "Host entries to be used in addition to and/or overriding auto-generated ones (erp5-catalog-0, erp5-cloudooo, erp5-memcached-persistent, erp5-memcached-volatile and erp5-smtpd)",
"default": {
"erp5-catalog-0": "some-ip",
"erp5-catalog-...": "some-ip",
"erp5-cloudooo": "some-ip",
"erp5-memcached-persistent": "some-ip",
"erp5-memcached-volatile": "some-ip"
},
"patternProperties": { "patternProperties": {
".*": { ".*": {
"description": "An IP to which current entry will resolve", "description": "An IP or domain name to which current entry will resolve",
"type": "string" "type": "string"
} }
}, },
......
...@@ -54,9 +54,8 @@ ...@@ -54,9 +54,8 @@
"type": "integer" "type": "integer"
}, },
"incremental-retention-days": { "incremental-retention-days": {
"description": "How many days incremental backups (binlogs) must be retained, -1 meaning incremental backups are disabled and 0 meaning no expiration", "description": "How many days incremental backups (binlogs) must be retained, -1 meaning incremental backups are disabled and 0 meaning no expiration, defaulting to full-retention-days' value",
"minimum": -1, "minimum": -1,
"default": "full-retention-days' value",
"type": "integer" "type": "integer"
} }
}, },
...@@ -70,19 +69,16 @@ ...@@ -70,19 +69,16 @@
"innodb-buffer-pool-size": { "innodb-buffer-pool-size": {
"description": "See MariaDB documentation on innodb_buffer_pool_size", "description": "See MariaDB documentation on innodb_buffer_pool_size",
"minimum": 0, "minimum": 0,
"default": "MariaDB's default",
"type": "integer" "type": "integer"
}, },
"innodb-log-file-size": { "innodb-log-file-size": {
"description": "See MariaDB documentation on innodb_log_file_size", "description": "See MariaDB documentation on innodb_log_file_size",
"minimum": 0, "minimum": 0,
"default": "MariaDB's default",
"type": "integer" "type": "integer"
}, },
"innodb-log-buffer-size": { "innodb-log-buffer-size": {
"description": "See MariaDB documentation on innodb_log_buffer_size", "description": "See MariaDB documentation on innodb_log_buffer_size",
"minimum": 0, "minimum": 0,
"default": "MariaDB's default",
"type": "integer" "type": "integer"
}, },
"long-query-time": { "long-query-time": {
......
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