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 16, 2015
1 parent 0d62ed3 commit d4adfe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/provider_install_package_dpkg.rb
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 d4adfe9

Please sign in to comment.