~charmers/charms/precise/opentsdb/trunk

« back to all changes in this revision

Viewing changes to hooks/opentsdb-relation-joined

  • Committer: Robert Collins
  • Date: 2012-06-26 03:48:13 UTC
  • Revision ID: robertc@robertcollins.net-20120626034813-huidbycs7baegu0j
Workingish charm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# affect any change needed by relationships being formed
4
4
# This script should be idempotent.
5
5
juju-log $JUJU_REMOTE_UNIT joined
 
6
# Export the details for talking to this instances
 
7
relation-set hostname="`unit-get private-address`"
 
8
relation-set port="4242"