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

The fqdn_rand() function should not assume case-consistency in the fqdn fact

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • Story Points:
      3
    • Sprint:
      ready for triage, NW - 2021-03-03, NW - 2021-03-17, NW - 2021-03-31, NW - 2021-04-14
    • Zendesk Ticket IDs:
      42419,43144
    • Zendesk Ticket Count:
      2
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Hide
      The `fqdn_rand` function accepts an optional parameter to downcase the FQDN fact so that the function's result is not sensitive FQDN case. The parameter must be passed after the SEED string, such as fqdn_rand(100, 'expensive job 1', true). By default, the function remains case-sensitive.
      Show
      The `fqdn_rand` function accepts an optional parameter to downcase the FQDN fact so that the function's result is not sensitive FQDN case. The parameter must be passed after the SEED string, such as fqdn_rand(100, 'expensive job 1', true). By default, the function remains case-sensitive.
    • QA Risk Assessment:
      Needs Assessment

      Description

      The DNS standard does not require hostnames to be case-consistent across different servers which are authoritative for the same domain.

      Therefore, the fqdn_rand function should not assume that the FQDN of a given server, (which may rely on DNS lookup via getaddrinfo) will always be returned with identical case.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              josh Josh Cooper
              Reporter:
              pillarsdotnet Robert August Vincent II
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support