summaryrefslogtreecommitdiff
path: root/hooks/database-relation-joined
blob: 8556c0ad80860f09217309b2c66978a6f9c32f0f (plain)
1 2 3 4 5 6 7 8 9 10 
#!/bin/bash # This must be renamed to the name of the relation. The goal here is to # affect any change needed by relationships being formed # This script should be idempotent. set -ux relation-set hostname=`hostname -f` replset=`facter replset-name` echo $JUJU_REMOTE_UNIT joined