~evarlast/charms/trusty/elasticsearch/trunk

« back to all changes in this revision

Viewing changes to hooks/rest-relation-changed

  • Committer: Luis Arias
  • Date: 2012-06-15 15:53:01 UTC
  • Revision ID: luis@balsamiq.com-20120615155301-a3mlv1384orkmk1b
Add cluster-name to rest-relation-changed hook.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
relation-list
12
12
 
13
13
# Set hostname for rest client
14
 
relation-set hostname=$(unit-get private-address)
 
 
b'\\ No newline at end of file'
 
14
relation-set hostname=$(unit-get private-address) cluster-name=$(config-get cluster-name)
 
 
b'\\ No newline at end of file'