Update rabbitmq dependency
This commit updates the revision of rabbitmq to install for testing. This revision was chosen for two reasons: - later revisions remove the rabbitmq::server class - later revisions do not support installing from your local distro (which means you will likely get a version not tested with openstack) Change-Id: Id73e7c9b43c25dbb6300c69565de2178b1a2462b
This commit is contained in:
@@ -5,7 +5,9 @@ fixtures:
|
||||
"mysql": "git://github.com/puppetlabs/puppetlabs-mysql.git"
|
||||
"stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
|
||||
"sysctl": "git://github.com/duritong/puppet-sysctl.git"
|
||||
"rabbitmq": "git://github.com/puppetlabs/puppetlabs-rabbitmq.git"
|
||||
"rabbitmq":
|
||||
repo: "git://github.com/puppetlabs/puppetlabs-rabbitmq"
|
||||
ref: 43a000b95b13c62e4fbea14e31bc61929bda1b23
|
||||
"qpid": "git://github.com/dprince/puppet-qpid.git"
|
||||
'inifile': 'git://github.com/cprice-puppet/puppetlabs-inifile'
|
||||
"postgresql": "git://github.com/puppetlabs/puppet-postgresql.git"
|
||||
|
@@ -3,19 +3,22 @@ require 'spec_helper'
|
||||
describe 'nova::rabbitmq' do
|
||||
|
||||
let :facts do
|
||||
{:puppetversion => '2.7'}
|
||||
{
|
||||
:puppetversion => '2.7',
|
||||
:osfamily => 'Debian'
|
||||
}
|
||||
end
|
||||
|
||||
describe 'with defaults' do
|
||||
|
||||
|
||||
it 'should contain all of the default resources' do
|
||||
|
||||
|
||||
should contain_class('rabbitmq::server').with(
|
||||
:service_ensure => 'running',
|
||||
:port => '5672',
|
||||
:delete_guest_user => false
|
||||
)
|
||||
|
||||
|
||||
should contain_rabbitmq_vhost('/').with(
|
||||
:provider => 'rabbitmqctl'
|
||||
)
|
||||
@@ -39,7 +42,7 @@ describe 'nova::rabbitmq' do
|
||||
:password => 'pass',
|
||||
:provider => 'rabbitmqctl'
|
||||
)
|
||||
|
||||
|
||||
should contain_rabbitmq_user_permissions('dan@/').with(
|
||||
:configure_permission => '.*',
|
||||
:write_permission => '.*',
|
||||
@@ -69,7 +72,7 @@ describe 'nova::rabbitmq' do
|
||||
:port => '5672',
|
||||
:delete_guest_user => false
|
||||
)
|
||||
|
||||
|
||||
should_not contain_rabbitmq_vhost('/')
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user