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