From e7a36a4e09d8d34758f0c51724ac507d319b47a4 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Jun 28 2011 17:49:47 +0000 Subject: Fixed PostgreSQL tests on EL6 --- diff --git a/tests/p_postgresql/1-config-postgresql.sh b/tests/p_postgresql/1-config-postgresql.sh new file mode 100755 index 0000000..9422101 --- /dev/null +++ b/tests/p_postgresql/1-config-postgresql.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Author: Athmane Madjoudj + +if (t_GetPkgRel postgresql | grep -q el6) +then + t_Log "Initialize PostgreSQL DB " + service postgresql initdb + service postgresql restart +else + t_Log "This script is not required for CentOS 5.x" +fi