Clear the contents of the extra nova config options in __init__

previous options were hanging around, causing problems when there was
multiple nova-compute nodes and one of them was the same as the
nova-network node
This commit is contained in:
Derek Higgins
2012-12-07 08:06:37 -05:00
parent e1b8ff60ca
commit 879fe93604

View File

@@ -13,7 +13,9 @@ class NovaConfig(object):
"""
Helper class to create puppet manifest entries for nova_config
"""
options = {}
def __init__(self):
self.options = {}
def addOption(self, n, v):
self.options[n] = v