The postgres_cluster state module is used to manage PostgreSQL clusters. Clusters can be set as either absent or present
create cluster 9.3 main: postgres_cluster.present: - name: 'main' - version: '9.3'
Ensure that the named cluster is absent
The name of the cluster to remove
New in version 2015.XX.
Ensure that the named cluster is present with the specified properties. For more information about all of these options see man pg_createcluster(1)
Where the cluster is stored
New in version 2015.XX.
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.postgres_cluster.html