Guard database resources for HA deployment
Guard database resources for HA deployment

On inactive members of the HA pair, Postgres won't be running, so the
resources that require a live database should not run if the server
isn't up.

We use the presence of the PID file as a proxy for whether the
database is up or not.

opscode-cookbooks/opscode-bifrost,opscode-cookbooks/opscode-bifrost,opscode-cookbooks/opscode-bifrost