Refactored packstack.installer.setup_sequences

Change-Id: Ie4b039ed9c4996240c20a033d91b936c8113214b
This commit is contained in:
Martin Magr
2013-05-07 15:39:53 +02:00
parent e2fc1f7627
commit 4e4149db97
24 changed files with 274 additions and 216 deletions

View File

@@ -146,13 +146,13 @@ def initSequences(controller):
'instances might be problem for '
'some OpenStack components.')
def createmanifest():
def createmanifest(config):
for hostname in gethostlist(controller.CONF):
manifestfile = "%s_prescript.pp" % hostname
manifestdata = getManifestTemplate("prescript.pp")
appendManifestFile(manifestfile, manifestdata)
def create_ntp_manifest():
def create_ntp_manifest(config):
servers = ''
for srv in controller.CONF['CONFIG_NTP_SERVERS'].split(','):
srv = srv.strip()