Fix the rspecs by adding include repository before
Change-Id: I51cdc6b3f7396b8b5d9fe830d10f18bd5ee9b5dd
This commit is contained in:
parent
f0c12f35b6
commit
0467dbbeeb
@ -5,6 +5,7 @@ describe 'midonet::agent class' do
|
||||
# Using puppet_apply as a helper
|
||||
it 'should install the midonet agent without any errors' do
|
||||
pp = <<-EOS
|
||||
include ::midonet::repository
|
||||
class { 'midonet_openstack::role::nsdb':
|
||||
}
|
||||
class { 'midonet::agent':
|
||||
|
@ -5,11 +5,12 @@ describe 'midonet::analytics class' do
|
||||
# Using puppet_apply as a helper
|
||||
it 'should install the midonet analytics without any errors' do
|
||||
pp = <<-EOS
|
||||
include ::midonet::repository
|
||||
class { 'midonet::analytics':
|
||||
is_mem => false,
|
||||
manage_repo => false,
|
||||
mem_username => undef,
|
||||
mem_password => undef,
|
||||
mem_password => undef,
|
||||
zookeeper_hosts => [{ 'ip' => '127.0.0.1', 'port' => '2181' }],
|
||||
}
|
||||
EOS
|
||||
|
@ -5,6 +5,7 @@ describe 'midonet::cli class' do
|
||||
# Using puppet_apply as a helper
|
||||
it 'should work without any errors' do
|
||||
pp = <<-EOS
|
||||
include ::midonet::repository
|
||||
class {'midonet::cli':
|
||||
api_endpoint => 'http://127.0.0.1:8181/midonet-api',
|
||||
username => 'admin',
|
||||
|
@ -5,6 +5,7 @@ describe 'midonet::cluster class' do
|
||||
# Using puppet_apply as a helper
|
||||
it 'should install the midonet cluster without any errors' do
|
||||
pp = <<-EOS
|
||||
include ::midonet::repository
|
||||
class { 'midonet::cluster':
|
||||
zookeeper_hosts => [{ 'ip' => '127.0.0.1', 'port' => '2181' }],
|
||||
cassandra_servers => ['127.0.0.1'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user