[mod] role:postgresql:Integer-Wert für Port verwenden

This commit is contained in:
roydfalk 2024-03-20 00:08:53 +01:00
parent c2879c7bf2
commit cb09bca26e
3 changed files with 17 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{
"var_postgresql_listen_address": "localhost",
"var_postgresql_port": "5432"
"var_postgresql_port": 5432
}

View file

@ -61,7 +61,7 @@ listen_addresses = '{{var_postgresql_listen_address}}' # what IP address(es) to
# comma-separated list of addresses;
# defaults to 'localhost'; use '*' for all
# (change requires restart)
port = {{var_postgresql_port}} # (change requires restart)
port = {{var_postgresql_port | string}} # (change requires restart)
max_connections = 100 # (change requires restart)
#superuser_reserved_connections = 3 # (change requires restart)
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories

View file

@ -0,0 +1,15 @@
{
"listen_address": {
"mandatory": false,
"type": "string"
},
"port": {
"mandatory": false,
"type": "integer"
},
"allow_md5_auth": {
"mandatory": false,
"type": "boolean"
}
}