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:
@@ -13,7 +13,9 @@ class NovaConfig(object):
|
|||||||
"""
|
"""
|
||||||
Helper class to create puppet manifest entries for nova_config
|
Helper class to create puppet manifest entries for nova_config
|
||||||
"""
|
"""
|
||||||
options = {}
|
def __init__(self):
|
||||||
|
self.options = {}
|
||||||
|
|
||||||
def addOption(self, n, v):
|
def addOption(self, n, v):
|
||||||
self.options[n] = v
|
self.options[n] = v
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user