Hi,

I was wondering if anyone has seen this issue before?

I am trying to add an rabbitmq exchange using puppet, here is what I have 
in my pp file

    rabbitmq_exchange { "MyTestExchange@/":
      type       => 'topic',
      ensure     =>  present,
    }

Going by the documentation, this looks OK but when I run the puppet agent I 
get the following error

Error: Execution of '/usr/local/bin/rabbitmqadmin declare exchange 
--vhost=/ --user=guest --password=guest name=MyTestExchange type=topic -c 
/etc/rabbitmq/rabbitmqadmin.conf' returned 1: *** Could not connect: [Errno 
1] _ssl.c:492: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol
Error: 
/Stage[main]/Te::Te_rabbitmq/Rabbitmq_exchange[MyTestExchange@/]/ensure: 
change from absent to present failed: Execution of 
'/usr/local/bin/rabbitmqadmin declare exchange --vhost=/ --user=guest 
--password=guest name=MyTestExchange type=topic -c 
/etc/rabbitmq/rabbitmqadmin.conf' returned 1: *** Could not connect: [Errno 
1] _ssl.c:492: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol

Strange thing is that if I run the command locally without the "-c" flag, 
it runs fine, as can be seen below

[root@tafexemb1 ~]#/usr/local/bin/rabbitmqadmin declare exchange --vhost=/ 
--user=guest --password=guest name=MyTestExchange type=topic
exchange declared
[root@tafexemb1 ~]#

Is this expected behaviour or am I missing something?

Thanks in advance
JJ

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/a9fe191f-b9c8-4346-927b-c477445f4fbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to