~arosales/charms/precise/kibana/update-charm-icon

« back to all changes in this revision

Viewing changes to hooks/web-relation-joined

  • Committer: Tom Haddon
  • Date: 2013-11-27 10:56:57 UTC
  • mfrom: (6.1.4 kibana)
  • Revision ID: tom.haddon@canonical.com-20131127105657-5x9ua332p3i4rz4t
[mthaddon,r=jacekn] Allow us to specify the download source, actually confirm the checksum matches the downloaded source, and remove some spurious comments from hooks. Use /srv for kibana - /usr/share is for architecture-independent (shared) data per FHS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
 
# This must be renamed to the name of the relation. The goal here is to
3
 
# affect any change needed by relationships being formed
4
 
# This script should be idempotent.
5
 
set -eux # -x for verbose logging to juju debug-log
 
2
set -eux
6
3
juju-log $JUJU_REMOTE_UNIT joined
7
4
 
8
5
# Set ip/port for web relation
9
6
relation-set port="80"
10
 
relation-set host=`unit-get private-address`
 
 
b'\\ No newline at end of file'
 
7
relation-set host=`unit-get private-address`