diff options
| author | Juan L. Negron <juan.negron@canonical.com> | 2011-11-28 10:35:59 -0800 |
|---|---|---|
| committer | Juan L. Negron <juan.negron@canonical.com> | 2011-11-28 10:35:59 -0800 |
| commit | 2d622f2b6df5d252ad861ff9c4a9576fb67be2ec (patch) | |
| tree | 08b50bdda606f159da20a1478886343c04d5aa1e /hooks/database-relation-joined | |
| parent | 4349c15c7c8f195221208895ff9c0436c2473ecf (diff) | |
Added config.yaml file with replica-set name. Changed the use of facter for config-get in the replica-set variable. Verified working in oneiric
Diffstat (limited to 'hooks/database-relation-joined')
| -rwxr-xr-x | hooks/database-relation-joined | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/database-relation-joined b/hooks/database-relation-joined index 8556c0a..d9d2c87 100755 --- a/hooks/database-relation-joined +++ b/hooks/database-relation-joined @@ -5,6 +5,6 @@ set -ux -relation-set hostname=`hostname -f` replset=`facter replset-name` +relation-set hostname=`hostname -f` replset=`config-get replicaset` echo $JUJU_REMOTE_UNIT joined |
