Skip to content

Commit da9c7a8

Browse files
committed
Merge pull request redhat-openstack#287 from erhudy/master
User tag changes for <=3.3.4
2 parents 4657e57 + 247b6e0 commit da9c7a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/puppet/provider/rabbitmq_user/rabbitmqctl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,6 @@ def get_user_tags
111111
match = rabbitmqctl('-q', 'list_users').split(/\n/).collect do |line|
112112
line.match(/^#{Regexp.escape(resource[:name])}\s+\[(.*?)\]/)
113113
end.compact.first
114-
Set.new(match[1].split(/, /)) if match
114+
Set.new(match[1].split(' ').map{|x| x.gsub(/,$/, '')}) if match
115115
end
116116
end

0 commit comments

Comments
 (0)