Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-5155

Puppetlabs_spec_helper fails to install forge modules on Puppet 5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: spec_helper
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Module Version: 2.2.0
      Puppet Version: 5.0.0
      OS Name/Version: Centos 7.3.x
      Desired Behavior:

      Installs modules needed for testing from Git or the Forge

      Actual Behavior:

      Fails when attempting to install modules from the Forge with following message:

      Notice: Preparing to install into /home/dhollinger/workspace/onyx/puppet/base_os/spec/fixtures/modules ...
      Notice: Downloading from https://forgeapi.puppet.com ...
      Error: wrong number of arguments (given 2, expected 1)
      Error: Try 'puppet help module install' for usage
      rake aborted!
      Failed to install module choria-mcollective_agent_filemgr to /home/dhollinger/workspace/onyx/puppet/base_os/spec/fixtures/modules
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/puppetlabs_spec_helper-2.2.0/lib/puppetlabs_spec_helper/rake_tasks.rb:323:in `block (2 levels) in <top (required)>'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/puppetlabs_spec_helper-2.2.0/lib/puppetlabs_spec_helper/rake_tasks.rb:301:in `each'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/puppetlabs_spec_helper-2.2.0/lib/puppetlabs_spec_helper/rake_tasks.rb:301:in `block in <top (required)>'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `block in execute'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `each'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `execute'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:180:in `invoke'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/puppetlabs_spec_helper-2.2.0/lib/puppetlabs_spec_helper/rake_tasks.rb:365:in `block in <top (required)>'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `block in execute'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `each'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `execute'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:180:in `invoke'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:152:in `invoke_task'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block (2 levels) in top_level'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `each'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:108:in `block in top_level'
      /home/dhollinger/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rr
      

      This is pretty important for us as we've already upgraded to Puppet 5.x, but our CI system will not allow merges, PRs, or deployments without passing tests

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thomas.hallgren Thomas Hallgren
              Reporter:
              dhollinger David Hollinger
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support