~justin-fathomdb/charms/trusty/elasticsearch/trunk

« back to all changes in this revision

Viewing changes to hooks/start

  • Committer: Justin SB
  • Date: 2014-06-23 14:33:52 UTC
  • Revision ID: justin@fathomdb.com-20140623143352-4vexia05dznydncr
Raise sleep to 30s

We really should do something better here...

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
# load up logstash template. 
20
20
# https://github.com/logstash/logstash/wiki/Elasticsearch-Storage-Optimization
21
21
# really we should do this as part of the relationship join.
22
 
juju-log "sleep 10 seconds then install logstash template"
23
 
sleep 10s
24
 
curl -XPUT 'http://localhost:9200/_template/template_logstash/' -d @${HOME}/../files/charm/logstash-template.json
 
22
juju-log "sleep 30 seconds then install logstash template"
 
23
sleep 30s
 
24
curl -XPUT 'http://localhost:9200/_template/template_logstash/' -d @${HOME}/../files/charm/logstash-template.json
 
 
b'\\ No newline at end of file'