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

stdlib v4.23.0 : runtime errors

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • stdlib
    • None
    • ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]

    • Needs Assessment
    • Needs Assessment

    Description

      Basic Info
      Module Version:
      puppetlabs-stdlib (v4.23.0)

      Puppet Version:
      puppet: 3.8.7

      OS Name/Version:
      centos 6.9

      Describe your issue in as much detail as possible...
      I have a bunch of puppet code that started failing with the latest version of stdilb (v4.23.0). The code works if I roll the version back to v4.22.0. Error message below

      {{Error loading fact /etc/puppet/modules/stdlib/lib/facter/pe_version.rb: /etc/puppet/modules/stdlib/lib/facter/pe_version.rb:34: syntax error, unexpected ':', expecting kEND
      confine is_pe: true
      ^
      /etc/puppet/modules/stdlib/lib/facter/pe_version.rb:44: syntax error, unexpected ':', expecting kEND
      confine is_pe: true
      ^
      /etc/puppet/modules/stdlib/lib/facter/pe_version.rb:54: syntax error, unexpected ':', expecting kEND
      confine is_pe: true
      ^
      Error loading fact /etc/puppet/modules/stdlib/lib/facter/package_provider.rb: /etc/puppet/modules/stdlib/lib/facter/package_provider.rb:16: syntax error, unexpected ':', expecting ')'
      ...ype(:package).newpackage(name: 'dummy', allow_virtual: 'true...
      ^
      /etc/puppet/modules/stdlib/lib/facter/package_provider.rb:16: syntax error, unexpected ',', expecting kEND
      ...age).newpackage(name: 'dummy', allow_virtual: 'true')[:provi...
      ^
      /etc/puppet/modules/stdlib/lib/facter/package_provider.rb:16: syntax error, unexpected ')', expecting kEND
      ...dummy', allow_virtual: 'true')[:provider].to_s
      ^
      /etc/puppet/modules/stdlib/lib/facter/package_provider.rb:18: syntax error, unexpected ':', expecting ')'
      ...ype(:package).newpackage(name: 'dummy')[:provider].to_s
      ^
      /etc/puppet/modules/stdlib/lib/facter/package_provider.rb:18: syntax error, unexpected ')', expecting kEND
      ...age).newpackage(name: 'dummy')[:provider].to_s
      ^
      Error loading fact /etc/puppet/modules/stdlib/lib/facter/root_home.rb: /etc/puppet/modules/stdlib/lib/facter/root_home.rb:21: syntax error, unexpected ':', expecting kEND
      confine kernel: :darwin
      ^
      /etc/puppet/modules/stdlib/lib/facter/root_home.rb:34: syntax error, unexpected ':', expecting kEND
      confine kernel: :aix
      ^
      Error loading fact /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb: /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb:122: odd number list for Hash
      @cache[file] =

      { data: data, stored: Time.now.to_i }

      }}
      Desired Behavior:

      Actual Behavior:

      Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bmooney Bill Mooney
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support