- 'binding',
- vhost_opt,
- "--user=#{resource[:user]}",
- "--password=#{resource[:password]}",
- '-c',
- '/etc/rabbitmq/rabbitmqadmin.conf',
- "source=#{resource[:source]}",
- "destination=#{resource[:destination]}",
- "arguments=#{arguments.to_json}",
- "routing_key=#{resource[:routing_key]}",
- "destination_type=#{resource[:destination_type]}")
+ 'binding',
+ vhost_opt,
+ "--user=#{resource[:user]}",
+ "--password=#{resource[:password]}",
+ '-c',
+ '/etc/rabbitmq/rabbitmqadmin.conf',
+ "source=#{name}",
+ "destination=#{destination}",
+ "arguments=#{arguments.to_json}",
+ "routing_key=#{resource[:routing_key]}",
+ "destination_type=#{resource[:destination_type]}"
+ )