summaryrefslogtreecommitdiff
path: root/hooks/database-relation-joined
blob: d6e930c11319009306a1c8727f9e31a9e4907f4a (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 $ENSEMBLE_REMOTE_UNIT joined