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