diff options
| author | Juan L. Negron <juan.negron@canonical.com> | 2011-08-10 22:36:24 -0700 |
|---|---|---|
| committer | Juan L. Negron <juan.negron@canonical.com> | 2011-08-10 22:36:24 -0700 |
| commit | a436f79bd0093c7079aa5babb218f7ddce2f26a6 (patch) | |
| tree | e2a11799cbf1b1dff94a07cddd37205f9d0e89b8 /hooks/database-relation-joined | |
Initial commit
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 |
