Provision controller and workers

Change-Id: I44d542c5b2db08921e275fcd0e2a93b77e8a7f46
This commit is contained in:
Yun Mao 2013-05-24 16:02:05 -04:00
parent 4398405a64
commit 3854ac006d
1 changed files with 7 additions and 0 deletions

View File

@ -389,11 +389,18 @@ class Orchestrator(object):
"""
deploy OpenStack controller(s) via misc cookbooks
"""
self._add_run_list([self._controller_name], "role[os-dev-mode]")
self._add_run_list([self._controller_name],
"role[os-controller-combined]")
self._run_chef_client([self._controller_ip])
def _setup_workers(self):
"""
deploy workers via misc cookbooks
"""
self._add_run_list(self._worker_names, "role[os-dev-mode]")
self._add_run_list(self._worker_names, "role[os-worker-combined]")
self._run_chef_client(self._worker_ips)
def cleanup(self):
"""