Thomas Herve has proposed merging lp:~therve/cloud-init/restart-landscape into 
lp:cloud-init.

Requested reviews:
  cloud init development team (cloud-init-dev)

For more details, see:
https://code.launchpad.net/~therve/cloud-init/restart-landscape/+merge/130982

Just restart landscape at the end of the config handling. I'm not sure what 
happens when the client is started afterwards or not.
-- 
https://code.launchpad.net/~therve/cloud-init/restart-landscape/+merge/130982
Your team cloud init development team is requested to review the proposed merge 
of lp:~therve/cloud-init/restart-landscape into lp:cloud-init.
=== modified file 'cloudinit/config/cc_landscape.py'
--- cloudinit/config/cc_landscape.py	2012-10-15 08:25:09 +0000
+++ cloudinit/config/cc_landscape.py	2012-10-23 12:12:25 +0000
@@ -84,6 +84,7 @@
     log.debug("Wrote landscape config file to %s", lsc_client_fn)
 
     util.write_file(LS_DEFAULT_FILE, "RUN=1\n")
+    util.subp(["service", "landscape-client", "restart"])
 
 
 def merge_together(objs):

_______________________________________________
Mailing list: https://launchpad.net/~cloud-init-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to