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

Selector string match behavior change (future parser)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.5.1, PUP 3.6.0, PUP 3.6.2
    • Fix Version/s: None
    • Component/s: None
    • Template:

      Description

      Hi,

      the string matching behavior when using a selector statement has changed sometime between versions 3.3.1 and 3.5.1 (future parser)

      Before:
      Strings matched whether they are capitalized or not. (e.g. Debian and debian)

      Now:
      Only lower case is matched (e.g. debian)

      Problem:
      This breaks many existing puppet modules!
      Many modules match facts like ::osfamily. They will fail because the capitalized fact no longer matches.

      Some example code illustrating the problem is available at https://gist.github.com/fadenb/a785f40de0c6c7567928

      If you need futher information please do not hesitate to contact me (IRC is probably the fastest way)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            fadenb Tristan Helmich
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support