Merge lp:~therve/cloud-init/restart-landscape into lp:~cloud-init-dev/cloud-init/trunk

Proposed by Thomas Herve
Status: Merged
Merged at revision: 692
Proposed branch: lp:~therve/cloud-init/restart-landscape
Merge into: lp:~cloud-init-dev/cloud-init/trunk
Diff against target: 11 lines (+1/-0)
1 file modified
cloudinit/config/cc_landscape.py (+1/-0)
To merge this branch: bzr merge lp:~therve/cloud-init/restart-landscape
Reviewer Review Type Date Requested Status
cloud-init Commiters Pending
Review via email: mp+130982@code.launchpad.net

Description of the change

Just restart landscape at the end of the config handling. I'm not sure what happens when the client is started afterwards or not.

To post a comment you must log in.
Revision history for this message
Thomas Herve (therve) wrote :

lp:~therve/cloud-init/fix-landscape-config-precise contains the fix for the precise branch.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'cloudinit/config/cc_landscape.py'
2--- cloudinit/config/cc_landscape.py 2012-10-15 08:25:09 +0000
3+++ cloudinit/config/cc_landscape.py 2012-10-23 12:12:25 +0000
4@@ -84,6 +84,7 @@
5 log.debug("Wrote landscape config file to %s", lsc_client_fn)
6
7 util.write_file(LS_DEFAULT_FILE, "RUN=1\n")
8+ util.subp(["service", "landscape-client", "restart"])
9
10
11 def merge_together(objs):