In lastest version of rabbitmqctl the "...done" line has been removed, which is causing errors:

19 views
Skip to first unread message

Jerry Higgs

unread,
Nov 5, 2014, 3:40:08 PM11/5/14
to puppet...@googlegroups.com

In lastest version of rabbitmqctl the "...done" line has been removed, which is causing errors:

In the rabbitmq provider they currently use:
rabbitmqctl('list_vhosts').split(/\n/)[1..-2]
Before:

# rabbitmqctl list_vhosts
Listing vhosts ...
/
/mcollective
...done.

The provider needs to be updated to reflect the changes in rabbitmqctl:
rabbitmqctl('list_vhosts').split(/\n/)[1..-1]
Now:

# rabbitmqctl list_vhosts
Listing vhosts ...
/
/mcollective

Jerry Higgs

unread,
Nov 5, 2014, 6:40:34 PM11/5/14
to puppet...@googlegroups.com
It appears that there is an error in:

Jerry Higgs

unread,
Nov 5, 2014, 6:46:35 PM11/5/14
to puppet...@googlegroups.com
Module has been updated to use use -q flag instead of array slices.  This has been solved.
Reply all
Reply to author
Forward
0 new messages