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

Puppet excessively stats the filesystem when looking for defined types

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 3.4.2
    • PUP 3.5.0
    • Types and Providers
    • None
    • 2
    • Week 2014-2-19 to 2014-2-26

    Description

      masterzen and I realized that when puppet tries to resolve a defined type, it always tries to first find the defined type within all the plugin directories as it tries to first load it as a resource type and then as a defined type.

      We should be able to avoid a lot of stats on the filesystem by simply changing the lookup order.

      masterzen has some ideas for a patch.

      Attachments

        1. pm2.png
          pm2.png
          73 kB
        2. pm3.png
          pm3.png
          73 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              duritong Peter Meier
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support