confz

git mirror of https://ccx.te2000.cz/bzr/confz
git clone https://ccx.te2000.cz/git/confz
Log | Files | Refs

commit 5bb7897ec90743e61315ab87356ce275f5287f7b
parent ce9c1a8bd6b6ef1147b4512023b530da650b30e7
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Fri, 27 Jun 2014 11:24:35 +0200

stub postgresql module
Diffstat:
Azsh-functions/confz_postgresql_init | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/zsh-functions/confz_postgresql_init b/zsh-functions/confz_postgresql_init @@ -0,0 +1,19 @@ +# vim: ft=zsh noet ts=4 sts=4 sw=4 + +# +# confz functions for PostgreSQL +# + +confz_postgresql_cluster_check() { + checkvars data_dir + defvar owner postgres + defvar pgdata $vars[data_dir] + defvar locale en_US.UTF-8 + defvar initdb initdb + + [[ -d $vars[data_dir] && -d $vars[pgdata] ]] +} + +confz_postgresql_cluster_do() { + false +}