Skip to content

Commit

Permalink
Use package options on both providers
Browse files Browse the repository at this point in the history
- Fixes #335, pass package_options to both providers (package and dpkg_package)
  • Loading branch information
martinb3 committed Jul 8, 2015
1 parent 1524db3 commit 0cbaf4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/provider_install_package_dpkg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ class Chef
class Provider::ElasticsearchInstallPackageDpkg < Chef::Provider::ElasticsearchInstallPackage
provides :elasticsearch_install, platform_family: [ "debian", "ubuntu" ] if respond_to?(:provides)

def install_package(path)
def install_package(path, package_options)
dpkg_package path do
options package_options
action :install
end
end
Expand Down

0 comments on commit 0cbaf4c

Please sign in to comment.