Fix dumping the CPM database in AWS Production
Fix dumping the CPM database in AWS Production

The DB hostname needs to be different from Carrenza, so add a if
statement in.

This complexity can be removed once the Content Performance Manager is
migrated to AWS.

alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet