From 668ac16c88f4ce7bbc0bce09dee00dfb34cc290b Mon Sep 17 00:00:00 2001 From: Marc Cluet Date: Sun, 20 Feb 2011 14:08:55 +0000 Subject: Change output format for ConfigParser --- cloudinit/CloudConfig/cc_mcollective.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinit/CloudConfig/cc_mcollective.py b/cloudinit/CloudConfig/cc_mcollective.py index b06f0207..d7302fe8 100644 --- a/cloudinit/CloudConfig/cc_mcollective.py +++ b/cloudinit/CloudConfig/cc_mcollective.py @@ -61,7 +61,7 @@ def handle(name,cfg,cloud,log,args): mcollective_config.write(outputfile) # Now we got the whoe file, write to disk except first line final_configfile = open('/etc/mcollective/server.cfg', 'wb') - final_configfile.write(outputfile.getvalue().replace('[nullsection]\n','')) + final_configfile.write(outputfile.getvalue().replace('[nullsection]\n','').replace(' =',':')) final_configfile.close() # Start mcollective -- cgit v1.2.3