~mbruzek/charms/precise/bip/tests

« back to all changes in this revision

Viewing changes to hooks/hooks.py

  • Committer: amulet at dummy-user
  • Date: 2014-04-28 13:09:17 UTC
  • mfrom: (16.1.1 bip)
  • Revision ID: amulet@dummy-user.tld-20140428130917-7por64c7d4f4fhc2
[jose] Changed option ip to listenip

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
charm_dir = os.path.dirname(hook_dir)
39
39
 
40
40
listen_port = config().get('listen_port')
41
 
ip = config().get('ip')
 
41
listenip = config().get('listenip')
42
42
pid_file = config().get('pid_file')
43
43
log_directory = config().get('log_directory')
44
44
log_format = config().get('log_format')
81
81
                                'templates')))
82
82
    templ_vars = {
83
83
        'listen_port': listen_port,
84
 
        'ip': ip,
 
84
        'listenip': listenip,
85
85
        'pid_file': pid_file,
86
86
        'log_directory': log_directory,
87
87
        'log_format': log_format,