diff options
Diffstat (limited to 'deployment/noheat/infra-openstack/vagrant/test/create_host.test')
-rwxr-xr-x | deployment/noheat/infra-openstack/vagrant/test/create_host.test | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/deployment/noheat/infra-openstack/vagrant/test/create_host.test b/deployment/noheat/infra-openstack/vagrant/test/create_host.test index d36e288e9..f2a1ab909 100755 --- a/deployment/noheat/infra-openstack/vagrant/test/create_host.test +++ b/deployment/noheat/infra-openstack/vagrant/test/create_host.test @@ -5,8 +5,13 @@ export HOST_NAME='operator0' export VAGRANT_CWD='..' set_up() { - vagrant up --provision-with=run_playbook_destroy - vagrant up --provision-with=run_playbook_create + vagrant up + vagrant provision --provision-with=run_playbook_destroy + vagrant provision --provision-with=run_playbook_create +} + +tear_down() { + vagrant provision --provision-with=run_playbook_destroy } check() { @@ -19,3 +24,4 @@ check() { set_up >/dev/null # drop provisioning output check "$HOST_NAME" +tear_down >/dev/null # drop provisioning output |