puppet-midonet/spec/acceptance/midonet_spec.rb
Jaume Devesa 66e78c3509 Introduce host registration
This patch adds a new Puppet custom type to let puppet deployers to
register one host to a MidoNet tunnel zone:

  midonet_host_registration {'host1'
    midonet_api_endpoint => '..',
    username             => '..',
    password             => '..'
  }

User and password are the credentials of the user admin who performs the
action.

If the tunnel zone (tzone0 by default) is not informed, it will create
it.

Change-Id: I5b2fbce9c75aa949053b11f35d4ca239507e950b
2015-06-29 14:49:55 +02:00

17 lines
361 B
Ruby

require 'spec_helper_acceptance'
describe 'midonet all-in-one' do
context 'default parameters' do
it 'should work with no errors' do
pp = <<-EOS
class { 'midonet': }
EOS
# Run it twice for test the idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_failures => true)
end
end
end