Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error executing action `install` on resource 'elasticsearch_install' #335

Closed
martinb3 opened this issue Jul 8, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@martinb3
Copy link
Contributor

commented Jul 8, 2015

After 1524db3, we're seeing CI failures:

         * elasticsearch_install[elasticsearch_p] action install

           ================================================================================
           Error executing action `install` on resource 'elasticsearch_install[elasticsearch_p]'
           ================================================================================

           ArgumentError
           -------------
           wrong number of arguments (2 for 1)

           Cookbook Trace:
           ---------------
           /tmp/kitchen/cache/cookbooks/elasticsearch/libraries/provider_install_package_dpkg.rb:11:in `install_package'
           /tmp/kitchen/cache/cookbooks/elasticsearch/libraries/provider_install_package.rb:20:in `block (2 levels) in action_install'
           /tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/helpers/subcontext_block.rb:40:in `instance_eval'
           /tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/helpers/subcontext_block.rb:40:in `subcontext_block'
           /tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:67:in `notifying_block'
           /tmp/kitchen/cache/cookbooks/elasticsearch/libraries/provider_install_package.rb:13:in `block in action_install'
           /tmp/kitchen/cache/cookbooks/elasticsearch/libraries/provider_install_package.rb:12:in `action_install'

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/elasticsearch_test/recipes/default.rb


            22:   type :package
            23: end
            24: 

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/elasticsearch_test/recipes/default.rb:21:in `from_file'


             action :install
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             declared_type :elasticsearch_install
             cookbook_name "elasticsearch_test"
             recipe_name "default"
         type :package

           end

@martinb3 martinb3 added the bug label Jul 8, 2015

martinb3 added a commit that referenced this issue Jul 8, 2015

Use package options on both providers
- Fixes #335, pass package_options to both providers (package and dpkg_package)

@martinb3 martinb3 closed this in #336 Jul 8, 2015

@martinb3 martinb3 added this to the 1.0.0 release to Supermarket milestone Jul 16, 2015

@martinb3 martinb3 reopened this Jul 16, 2015

@martinb3 martinb3 closed this Jul 16, 2015

@martinb3 martinb3 removed this from the 1.0.0 release to Supermarket milestone Jul 16, 2015

martinb3 added a commit that referenced this issue Jul 16, 2015

Use package options on both providers
- Fixes #335, pass package_options to both providers (package and dpkg_package)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.