The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #10357

rabbitmq: Admin checks in rabbitmq_user

Added by Ken Barber over 2 years ago.

Status:AcceptedStart date:10/28/2011
Priority:NormalDue date:
Assignee:Dan Bode% Done:

0%

Category:rabbitmqSpent time:-
Target version:-
Keywords: Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the MODULES project on JIRA using the button below:


Description

(moved from github – originally raised by jorgeecardona)

Hi,

I’m using this code:

RabbitMQ server

class { “rabbitmq::server”: delete_guest_user => true, config => template(‘broker/rabbitmq.config.erb’) }

User.

rabbitmq_user { ‘user’: password => ‘password’, admin => false, provider => ‘rabbitmqctl’, }

Vhost.

rabbitmq_vhost { ‘app’: provider => ‘rabbitmqctl’, }

Basic Permissions

rabbitmq_user_permissions { ‘user@app’: configure_permission => ‘.’, read_permission => ‘.’, write_permission => ‘.*’, provider => ‘rabbitmqctl’, }

After apply this I get this error:

err: /Stage[main]/Rabbitmq::Server/Rabbitmq_user[guest]: Could not evaluate: Could not match line ‘guest (true|false)’ from list_users (perhaps you are running on an older version of rabbitmq that does not support admin users?)

I’m using rabbitmq 2.6.1-1 in debian testing.

From http://www.rabbitmq.com/man/rabbitmqctl.1.man.html the way to set an user as admin is to set tags and there is no set_admin or clear_admin commands.

What can I do? should I downgrade to 2.5?

Thanks.

Also available in: Atom PDF