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

    • Night's Watch
    • 3
    • ready for triage, NW - 2021-03-03, NW - 2021-03-17, NW - 2021-03-31, NW - 2021-04-14
    • 42419,43144
    • 2
    • Enhancement
    • 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.
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support