~michael.nelson/charms/trusty/logstash/trunk

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: Charles Butler
  • Date: 2014-07-24 13:26:45 UTC
  • Revision ID: chuck@dasroot.net-20140724132645-zg5ftylvawun1iue
Validated the rabbit install. tests fail due to the sentinels being dumb. no idea what to do here for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        apt_install(extra_packages, fatal=True)
41
41
 
42
42
    # Place default redis template
43
 
    fetch_logstash()
 
43
    if os.path.exists('files/logstash.tar.gz'):
 
44
        extract_package('files/logstash.tar.gz')
 
45
    else:
 
46
        fetch_logstash()
 
47
 
44
48
    create_skeleton()
45
49
    create_user()
46
50