Merge "Add integration_enable option to beaker test in sahara"
This commit is contained in:
commit
3747ec9f98
@ -1,4 +1,12 @@
|
||||
class openstack_integration::sahara {
|
||||
# Configure the Sahara service
|
||||
#
|
||||
# [*integration_enable*]
|
||||
# (optional) Boolean to run integration tests.
|
||||
# Defaults to true.
|
||||
#
|
||||
class openstack_integration::sahara (
|
||||
$integration_enable = true,
|
||||
){
|
||||
|
||||
include ::openstack_integration::config
|
||||
include ::openstack_integration::params
|
||||
@ -48,6 +56,7 @@ class openstack_integration::sahara {
|
||||
class { '::sahara::client': }
|
||||
class { '::sahara::notify': }
|
||||
|
||||
if $integration_enable {
|
||||
# create simple sahara templates
|
||||
sahara_node_group_template { 'master':
|
||||
ensure => present,
|
||||
@ -74,3 +83,4 @@ class openstack_integration::sahara {
|
||||
Class['::sahara::keystone::auth'] -> Sahara_node_group_template<||>
|
||||
Class['::openstack_extras::auth_file'] -> Sahara_node_group_template<||>
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user