Adjusted paste config modification (for nova).

This commit is contained in:
Joshua Harlow
2012-02-02 18:09:13 -08:00
parent 7dc1ac7c89
commit daf700ec69
6 changed files with 55 additions and 24 deletions

View File

@@ -137,6 +137,9 @@ class KeystoneInstaller(comp.PythonInstallComponent):
#then extract known configs that
#will need locations/directories/files made (or touched)...
with io.BytesIO(contents) as stream:
#for paste files we might not be doing this 100% right
#since it seems like the paste config format is not the same as
#the python config parser format....
config = cfg.IgnoreMissingConfigParser()
config.readfp(stream)
log_filename = config.get('log_file', CFG_SECTION)