diff options
Diffstat (limited to 'hooks/database-relation-joined')
| -rwxr-xr-x | hooks/database-relation-joined | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/hooks/database-relation-joined b/hooks/database-relation-joined new file mode 100755 index 0000000..d6e930c --- /dev/null +++ b/hooks/database-relation-joined @@ -0,0 +1,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 | 
