Merge lp:~jimbaker/pyjuju/new-hook-semantics-2-joined-hook into lp:pyjuju
Proposed by
Jim Baker
Status: | Merged |
---|---|
Approved by: | Gustavo Niemeyer |
Approved revision: | 182 |
Merged at revision: | 190 |
Proposed branch: | lp:~jimbaker/pyjuju/new-hook-semantics-2-joined-hook |
Merge into: | lp:pyjuju |
Prerequisite: | lp:~jimbaker/pyjuju/new-hook-semantics-1-departed-hook |
Diff against target: |
230 lines (+55/-17) 3 files modified
ensemble/unit/lifecycle.py (+4/-0) ensemble/unit/tests/test_lifecycle.py (+43/-17) ensemble/unit/tests/test_workflow.py (+8/-0) |
To merge this branch: | bzr merge lp:~jimbaker/pyjuju/new-hook-semantics-2-joined-hook |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gustavo Niemeyer | Approve | ||
Review via email: mp+55384@code.launchpad.net |
Description of the change
Adds a <name>-
<name>-
for the departed event was made for the joined event in this branch:
elif change.change_type == "joined":
To post a comment you must log in.
This looks good. +1, but please take care of the pre-requisite branch
before this is merged.
[1]
+ ("#!/bin/bash\n" "echo joined >> %s\n" % (file_path)))
Please remove the parenthesis around file_path here too.
[2]
+ "app-relation- joined" , "app-relation- changed" ,
Please make sure the lists are all evenly organized.
[3]
You'll have to do some changes here due to the pre-requisite branch.