Comment 2 for bug 1201500

Revision history for this message
James Luhrsen (jamo) wrote :

for the /var/tmp/rabbitmqadmin failure, I found that no rabbit user was getting created when running the
controller class. This caused the rabbitadmin curl grab to fail (unauthorized).

I manually added a rabbit admin user and hard coded those values in rabbitmq/manifests/server.pp :

# command => "curl http://${default_user}:${default_pass}@localhost:5${port}/cli/rabbitmqadmin -o /var/tmp/rabbitmqadmin",
    command => "curl http://myuser:mypassword@localhost:5${port}/cli/rabbitmqadmin -o /var/tmp/rabbitmqadmin",

following this, my puppet run for the controller class completed without error.