Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7738

"bundle exec puppet module install" fails on Puppet 5.0.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 5.0.0
    • Fix Version/s: PUP 5.0.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Puppet 5.0 gem on Centos7 with librarian puppet running with "bundle exec"

    • Template:
    • Team:
      Agent
    • Story Points:
      2
    • Sprint:
      Agent 2017-07-12, Agent 2017-07-26
    • Method Found:
      Customer Feedback
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Puppet 5.0.0 introduced a regression when running "puppet module install" via bundler. This issue only occurred if the Gemfile directly or indirectly expressed a dependency on the "semantic_puppet" gem. A common way for this to happen was if the module's Gemfile relied on the "metadata-json-lint" gem, which depends on "semantic_puppet". This fix ensures puppet works correctly when using either the external "semantic_puppet" gem or the vendored version in Puppet.
      Show
      Puppet 5.0.0 introduced a regression when running "puppet module install" via bundler. This issue only occurred if the Gemfile directly or indirectly expressed a dependency on the "semantic_puppet" gem. A common way for this to happen was if the module's Gemfile relied on the "metadata-json-lint" gem, which depends on "semantic_puppet". This fix ensures puppet works correctly when using either the external "semantic_puppet" gem or the vendored version in Puppet.
    • QA Risk Assessment:
      Automate
    • QA Risk Assessment Reason:
      partially covered by unit tests. should still test in acceptance with semantic_puppet gem installed

      Description

      We have a Puppet 4.10.x pipeline running librarian puppet to install modules from Puppetfile.

      This now failes on Puppet 5.0 with:

      10:51:05 10:51:05 Error executing puppet module install. Check that this command succeeds:
      10:51:05 10:51:05 puppet module install --version 4.17.1 --target-dir /xxxx/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/4.17.1 --module_repository https://forgeapi.puppetlabs.com --modulepath /xxxx/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/4.17.1 --module_working_dir /xxxx/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/puppetlabs-stdlib/4.17.1 --ignore-dependencies puppetlabs-stdlib
      10:51:05 10:51:05 Error:
      10:51:05 10:51:05 Warning: Support for ruby version 2.0.0 is deprecated and will be removed in a future release. See https://docs.puppet.com/puppet/latest/system_requirements.html#ruby for a list of supported ruby versions.
      10:51:05 10:51:05    (at /yyyyy/gems/ruby/gems/puppet-5.0.0/lib/puppet.rb:181:in `<module:Puppet>')
      10:51:05 10:51:05 Error: wrong number of arguments (2 for 1)
      10:51:05 10:51:05 Error: Try 'puppet help module install' for usage
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  elconas Robert Heinzmann
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  17 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support