~canonical-ci-engineering/charms/precise/ubuntu-ci-services-itself/lander-fix-job-input

« back to all changes in this revision

Viewing changes to hooks/hooks.py

  • Committer: Francis Ginther
  • Date: 2013-12-19 22:20:21 UTC
  • Revision ID: francis.ginther@canonical.com-20131219222021-qhe6grv96225ht8e
Fix hook relation names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    return os.path.join(config['install_root'], unit)
52
52
 
53
53
 
54
 
def lander_relation_joined(config):
 
54
def lander_jenkins_relation_joined(config):
55
55
    juju_info("Config: %s" % config)
56
56
    hostname = subprocess.check_output(['unit-get', 'private-address']).strip()
57
57
    _relation_set({
62
62
    })
63
63
 
64
64
 
65
 
def lander_relation_changed(config):
 
65
def lander_jenkins_relation_changed(config):
66
66
    pass
67
67
 
68
68
 
69
 
def lander_relation_broken(config):
 
69
def lander_jenkins_relation_broken(config):
70
70
    pass
71
71
 
72
72
 
80
80
    juju_info("Config: %s" % config)
81
81
 
82
82
 
83
 
def jenkns_extension_relation_broken(config):
 
83
def jenkins_extension_relation_broken(config):
84
84
    juju_info("jenkins_extension_relation_broken")
85
85
    juju_info("Config: %s" % config)
86
86