Added check for postgres replication
fixing nagios module server setup order
fixing postgres replication puppet