#!/bin/bash set -e DOMAIN=$(relation-get domain) || exit 1 config-add "\ services: $MASTER_BASE_SERVICE_NAME: environment: PDS_HOSTNAME: $DOMAIN "