Replace hardcoded paths with postgresql::params
Fail fast
Only create database on the primary host.
Add curl + fix some dependencies.
Rename master/slave -> primary/standby
Only create the db if we're on the primary (or a non-replicated setup).