--- /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/provider/package/zypper.rb 2015-01-28 23:37:58.000000000 +0000 +++ /vagrant/zypper.rb.new 2015-03-06 06:59:12.000000000 +0000 @@ -51,14 +51,21 @@ quiet = '--quiet' end - options = [quiet, :install] + options = [] + options << quiet + options << install_options if resource[:install_options] + + + options << :install + options << wanted #zypper 0.6.13 (OpenSuSE 10.2) does not support auto agree with licenses options << '--auto-agree-with-licenses' unless major < 1 and minor <= 6 and patch <= 13 options << '--no-confirm' - options << '--name' unless @resource.allow_virtual? || should - options += install_options if resource[:install_options] - options << wanted + + + + # options << '--name' unless @resource.allow_virtual? || should zypper *options