Browse Source

new: [postgres] add installation of the ``pg_*`` tools.

postgres
Valentin Lab 11 years ago
parent
commit
0f925d90db
  1. 15
      precise/postgres/hooks/install

15
precise/postgres/hooks/install

@ -14,6 +14,21 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
EOF
##
## Install 0k-manage for all the pg_* tools
##
(
if ! [ -d "/opt/apps/0k-manage" ]; then
cd /opt/apps &&
git clone $GIT_0K_CLONE_OPTIONS "$GIT_0K_BASE/0k/0k-manage.git" &&
cd /opt/apps/0k-manage &&
git checkout 0k/prod/master
fi
ln -sf /opt/apps/0k-manage/src/bin/* /usr/local/bin/
)
## XXXvlab: Shouldn't we use ldap to create a key for each client and
## remove the clear password from here ?

Loading…
Cancel
Save