add revision parameter
to allow users to specify the revision of the tempest tests to grab.
This commit is contained in:
parent
93cba163ae
commit
a44fb20d31
@ -36,8 +36,8 @@ class tempest(
|
|||||||
$admin_password = 'ChangeMe',
|
$admin_password = 'ChangeMe',
|
||||||
$admin_tenant_name = 'openstack',
|
$admin_tenant_name = 'openstack',
|
||||||
|
|
||||||
$git_protocol = 'git'
|
$git_protocol = 'git',
|
||||||
|
$revision = 'master'
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include git
|
include git
|
||||||
@ -54,10 +54,10 @@ class tempest(
|
|||||||
vcsrepo { '/var/lib/tempest':
|
vcsrepo { '/var/lib/tempest':
|
||||||
ensure => 'present',
|
ensure => 'present',
|
||||||
source => "${git_protocol}://github.com/openstack/tempest.git",
|
source => "${git_protocol}://github.com/openstack/tempest.git",
|
||||||
revision => 'origin/stable/essex',
|
revision => $revision,
|
||||||
provider => 'git',
|
provider => 'git',
|
||||||
require => Class['git'],
|
require => Class['git'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/lib/tempest/etc/tempest.conf':
|
file { '/var/lib/tempest/etc/tempest.conf':
|
||||||
content => template('tempest/tempest.conf.erb'),
|
content => template('tempest/tempest.conf.erb'),
|
||||||
|
Loading…
Reference in New Issue
Block a user