~michael.nelson/charms/trusty/elasticsearch/dont-fail-on-peer-relation-joined-when-not-part-of-cluster

« back to all changes in this revision

Viewing changes to hooks/common.sh

  • Committer: Paul Czarkowski
  • Date: 2012-11-11 18:34:00 UTC
  • Revision ID: paul@paulcz.net-20121111183400-nkg867fb6ams7yx4
made hooks more resiliant

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
DOWNLOADURL=$(config-get downloadurl)
13
13
CHECKSUMWRAPPER=$(config-get checksumwrapper)
14
14
ZENMASTERS=$(config-get zenmasters)
15
 
HOST=`unit-get private-address`
 
 
b'\\ No newline at end of file'
 
15
HOST=`unit-get private-address`
 
16
HEAP_SIZE=1024  # may need to change this if using small ec2 instance
 
17
#HEAP_SIZE=`cat /proc/meminfo | grep MemTotal | awk '{print int($2*.5/1000)}'`
 
 
b'\\ No newline at end of file'