Install tempest from rpm

In RDO, from ocata release tempest rpm is using upstream tempest
as a source. It would be good to use the same rpm for installing
and configure tempest.

Depends-On: Ia9e48d951e0f37e985e628b7a49401d75c9e4729

Change-Id: Ie6b20063944d3e6307bd332c624572e0cb3f1158
This commit is contained in:
Chandan Kumar
2017-02-03 08:49:15 +00:00
parent 8168496c9e
commit eab6d1fdcb
6 changed files with 13 additions and 47 deletions

View File

@@ -49,10 +49,7 @@ class packstack::provision::tempest ()
$public_router_id = undef
# Tempest
$tempest_repo_uri = hiera('CONFIG_PROVISION_TEMPEST_REPO_URI')
$tempest_repo_revision = hiera('CONFIG_PROVISION_TEMPEST_REPO_REVISION')
$tempest_clone_path = '/var/lib/tempest'
$tempest_clone_owner = 'root'
$tempest_workspace = '/var/lib/tempest'
$tempest_user = hiera('CONFIG_PROVISION_TEMPEST_USER')
$tempest_password = hiera('CONFIG_PROVISION_TEMPEST_USER_PW')
@@ -125,10 +122,8 @@ class packstack::provision::tempest ()
resize_available => $resize_available,
sahara_available => $sahara_available,
swift_available => $swift_available,
tempest_clone_owner => $tempest_clone_owner,
tempest_clone_path => $tempest_clone_path,
tempest_repo_revision => $tempest_repo_revision,
tempest_repo_uri => $tempest_repo_uri,
tempest_workspace => $tempest_workspace,
install_from_source => false,
tenant_name => $tenant_name,
trove_available => $trove_available,
username => $username,
@@ -137,6 +132,6 @@ class packstack::provision::tempest ()
tempest_config { 'object-storage/operator_role':
value => 'SwiftOperator',
path => "${tempest_clone_path}/etc/tempest.conf",
path => "${tempest_workspace}/etc/tempest.conf",
}
}