Module to provide Postgres compatibility to salt for debian family specific tools.
Adds a cluster to the Postgres server.
CLI Example:
salt '*' postgres.cluster_create '9.3' salt '*' postgres.cluster_create '9.3' 'main' salt '*' postgres.cluster_create '9.3' locale='fr_FR'
Checks if a given version and name of a cluster exists.
CLI Example:
salt '*' postgres.cluster_exists '9.3' salt '*' postgres.cluster_exists '9.3' 'main'
Return a list of cluster of Postgres server (tuples of version and name).
CLI Example:
salt '*' postgres.cluster_list salt '*' postgres.cluster_list verbose=True
Remove a cluster on a Postgres server. By default it doesn't try to stop the cluster.
CLI Example:
salt '*' postgres.cluster_remove '9.3' salt '*' postgres.cluster_remove '9.3' 'main' salt '*' postgres.cluster_remove '9.3' 'main' stop=True
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.deb_postgres.html