This is not really a bug. Sure, the resource agent has defaults set that
don't match Ubuntu's, but every relevant parameter can (and probably
should) be set explicitly in the CIB. For example:

primitive p_postgresql ocf:heartbeat:pgsql \
        params pgctl="/usr/lib/postgresql/9.1/bin/pg_ctl" psql="/usr/bin/psql" 
pgdata="/var/lib/postgresql/9.1/main" 
config="/etc/postgresql/9.1/main/postgresql.conf" 
logfile="/var/log/postgresql/postgresql-9.1-main.log" \
        op start interval="0" timeout="120s" \
        op stop interval="0" timeout="120s" \
        op monitor interval="30s" timeout="30s"

The resource agent is able to start a PostgreSQL server just fine,
having the parameters set to correct values.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/955164

Title:
  PostgreSQL resource agent has wrong default paths

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/955164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to