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

File type ignore can't convert Fixnum into String: MCollective/ActiveMQ

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: stdlib
    • Labels:
      None
    • Environment:

      Puppet 3.5.1

    • Template:
    • Story Points:
      1
    • Sprint:
      MODS Aug 20, MODS 2014-09-03

      Description

      modules/common/config/connector/activemq/host_iterations.pp fails because it is passing an Integer ($indexes = range('1', $pool_size)) to a define to be used as a string (mcollective::common::config::connector::activemq::hosts_iteration

      { $indexes: }

      ) in Puppet 3.5.1.

      It appears that the "range" function from stdlibs generats a set of integers when used with numbers, but due to changes in 3.5.1, it doesn't seem to automatically convert an INT to a string anymore.

        Attachments

          Activity

            People

            Assignee:
            sharkannon Stephen Herd
            Reporter:
            sharkannon Stephen Herd
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support