updated smoke tests

This commit is contained in:
Dan Bode 2011-06-14 22:25:04 -07:00
parent 50102f5442
commit a102796b83
2 changed files with 17 additions and 8 deletions

View File

@ -1,12 +1,21 @@
# this shows how to install and configure the latest version of
# rabbitmq from their repo
# TODO - I may need to pin the repo
class { 'rabbitmq::repo::apt':
pin => '900',
}
class { 'rabbitmq':
}->
class { 'rabbitmq::server':
delete_guest_user => true,
require => Class['rabbitmq::repo::apt'],
# version => '2.4.1',
}->
rabbitmq_user { 'dan':
admin => true,
password => 'pass',
provider => 'rabbitmqctl',
}->
rabbitmq_vhost { 'myhost':
provider => 'rabbitmqctl',
}
rabbitmq_user_permissions { 'dan@myhost':
configure_permission => '.*',
read_permission => '.*',
write_permission => '.*',
provider => 'rabbitmqctl',
}

View File

@ -1,2 +1,2 @@
# requires apt
# requires pupetlabs-apt
include rabbitmq::repo::apt