<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I brought this up on IRC, and was asked to bring it up on the mailing list. I have written a pedestrian little cookbook for chef that installs RabbitMQ plugins. It does something like this:</div><div><br></div><div><div>node[:rabbitmq_plugins][:plugin_list].each do |plugin|</div><div> remote_file "#{plugin}" do</div><div> source ( "#{node[:rabbitmq_plugins][:remote_file_uri]}" + "#{plugin}" + "-" + "#{node[:rabbitmq][:version]}" + ".ez" )</div><div> path ( "#{node[:rabbitmq][:prefixdir]}" + "/plugins/" + "#{plugin}" + "-" + "#{node[:rabbitmq][:version]}" + ".ez" )</div><div> backup false</div><div> owner "rabbitmq"</div><div> group "rabbitmq"</div><div> action :create_if_missing</div><div> notifies :restart, "service[rabbitmq-server]"</div><div> end</div><div>end</div></div><div><br></div><div>where the remote_file_uri is <a href="http://www.rabbitmq.com/releases/plugins/v2.5.0/">http://www.rabbitmq.com/releases/plugins/v2.5.0/</a> and the plugin name is expected to be plugin-2.5.0.ez.</div><div><br></div><div>The first plugin I try to install is mochiweb. It fails because the mochiweb plugin is named <a href="http://www.rabbitmq.com/releases/plugins/v2.5.0/mochiweb-1.3-rmq2.5.0-git9a53dbd.ez">mochiweb-1.3-rmq2.5.0-git9a53dbd.ez</a>.</div><div><br></div><div>I can modify my cookbook to store plugins and their filenames as a hash. However, could you guys consider creating predictable plugin filenames in the future?</div><div><br></div><div>Thanks, and please send cc: me with any feedback. I don't subscribe to the list.</div><div><br></div><div><div>
<div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="color: rgb(89, 89, 89); font-family: Arial, sans-serif; ">Exact</span><span style="color: rgb(227, 108, 10); font-family: Arial, sans-serif; ">Target</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="color: rgb(31, 73, 125); ">Greg Swallow</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="color: rgb(31, 73, 125); ">System Administrator</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="color: rgb(31, 73, 125); ">Phone | 317 524-5250</span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="color: rgb(31, 73, 125); ">Yahoo IM | gswallow01<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="color: rgb(31, 73, 125); ">Email | <a href="mailto:gswallow@exacttarget.com">gswallow@exacttarget.com</a></span></div></div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></div></body></html>