Postgres Master and Slave Puppet Class