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

Improve performance of hiera config stability check

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 4.9.3
    • PUP 4.9.4
    • None
    • Hide

      That a benchmark is provided that shows a significant performance improvement.

      Show
      That a benchmark is provided that shows a significant performance improvement.
    • Puppet Developer Experience
    • 1
    • PDE 2017-03-08
    • New Feature
    • Change the hiera configuration stability check, increasing performance.
    • No Action
    • perf; covered by unit benchmarks

    Description

      The check to assert that a hiera configuration is stable with respect to interpolated values, does not take into account that a global variable (a variable that starts with '::') is immutable once set.

      The performance of this check will be greatly improved for use-cases that have a hiera.yaml files similar to this example file from a comment in PUP-7294 if such variables are exempt from the check.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thomas.hallgren Thomas Hallgren
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support