Attempt at setting up streaming replication on a new db server
Simplify database replication setup (single DB class) + use incremented IPs.
Fix streaming replication setup
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).
Automate initial base backup (on standby database).
Merge branch 'postgres_streaming_replication'