~paulcz/charms/precise/elasticsearch/trunk

« back to all changes in this revision

Viewing changes to hooks/cluster-relation-departed

  • Committer: Luis Arias
  • Date: 2012-05-03 16:37:56 UTC
  • Revision ID: luis@balsamiq.com-20120503163756-fzpp9texw04gwqwi
Finally don't need the cluster peer relation because juju ec2 instances have the appropriate settings to communicate with each other.  Added a region config parameter which defaults to us-east.  Necessary for discovery to work in regions other than us-east.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# This must be renamed to the name of the relation. The goal here is to
3
 
# affect any change needed by the remote unit leaving the relationship.
4
 
# This script should be idempotent.
5
 
juju-log $JUJU_REMOTE_UNIT departed
6
 
close-port 9300