opscode/chef — pull request #550 by williamsjj (2012-12-17 20:55:14+00:00)
Title: Fixed location of dpkg options insertion.

Was inserting directly after -i/-r/-P which is the reserved location for the package name. This caused the use of the "options" resource attribute to error out:

FATAL: Chef::Exceptions::Exec: dpkg_package[/srv/chef/file_store/rabbitmq-server_2.8.4-1_all.deb] (rabbitmq_sensu::default line 52) had an error: Chef::Exceptions::Exec: dpkg -i --ignore-depends /srv/chef/file_store/rabbitmq-server_2.8.4-1_all.deb returned 2, expected 0