~charmers/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 13:29:22 UTC
  • Revision ID: luis@balsamiq.com-20120503132922-w1it6n26tpyof73j
Added back cluster peer relation because I need at a minimum to open and close the elasticsearch transport port 9300.  Added another -q to a wget I missed in the install script.

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