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

puppetlabs-stdlib 4.13.1 is incompatible with puppetlabs-concat 1.2.x

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • stdlib
    • Needs Assessment

    Description

      We had been reliably using puppetlabs-stdlib 4.6.0 with puppetlabs-concat 1.2.1 for months without issue, but the moment I upgrade puppetlabs-stdlib 4.6.0 to 4.13.1, we start to see this for all our clients:

      Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, $source is not a string or an Array. at /etc/puppet/environments/production/forge-modules/concat/manifests/fragment.pp:41:5 on node somenode.ndsu.edu
      Warning: Not using cache on failed catalog
      Error: Could not retrieve catalog; skipping run
      

      That line in concat::fragment 1.2.1 is the is_string and is_array validation checks.

      I've tried updating puppetlabs-concat to 1.2.5 (the latest in the 1.2 series), and the same problem happens with that version too. As soon as I --force uninstall puppetlabs-stdlib and then re-install version 4.6.0, the problem goes away.

      Note that puppet module will not let me upgrade to puppetlabs-concat 2.2.0. It gives the following message, without telling me which dependency is blocking the upgrade:

      $sudo puppet module upgrade puppetlabs-concat --version=2.2.0
      [sudo] password for mooney: 
      Notice: Preparing to upgrade 'puppetlabs-concat' ...
      Notice: Found 'puppetlabs-concat' (v1.2.5) in /etc/puppet/environments/production/forge-modules ...
      Notice: Downloading from https://forgeapi.puppetlabs.com ...
      Error: Could not upgrade module 'puppetlabs-concat' (v1.2.5 -> v2.2.0)
        No version of 'puppetlabs-concat' can satisfy all dependencies
          Use `puppet module upgrade --ignore-dependencies` to upgrade only this module
      

      This problem may be related to https://tickets.puppetlabs.com/browse/MODULES-3310, though people reporting there are using the puppet server, while we're still using the classic puppet stack.

      Attachments

        Issue Links

          Activity

            People

              solstice Tim Mooney
              solstice Tim Mooney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support