fix syntax erorr in cc_puppet.py
This commit is contained in:
parent
b1335ed858
commit
804749aca9
@ -61,7 +61,7 @@ def handle(name,cfg,cloud,log,args):
|
|||||||
else:
|
else:
|
||||||
#puppet_conf_fh.write("\n[%s]\n" % (cfg_name))
|
#puppet_conf_fh.write("\n[%s]\n" % (cfg_name))
|
||||||
# If puppet.conf already has this section we don't want to write it again
|
# If puppet.conf already has this section we don't want to write it again
|
||||||
if puppet_config.has_section(cfg_name) == False
|
if puppet_config.has_section(cfg_name) == False:
|
||||||
puppet_config.add_section(cfg_name)
|
puppet_config.add_section(cfg_name)
|
||||||
# Iterate throug the config items, we'll use ConfigParser.set
|
# Iterate throug the config items, we'll use ConfigParser.set
|
||||||
# to overwrite or create new items as needed
|
# to overwrite or create new items as needed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user