HomePhorge

(#6907) Prefetch unsuitable providers
000a2d811c74Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6907) Prefetch unsuitable providers

Previously, if we chose to use an unsuitable provider, we would not
prefetch it because it wasn't suitable at the beginning of the run. Now,
we lazily prefetch, waiting until the first resource of a particular provider is evaluated.

If the provider we are prefetching is also the default provider for its type,
we also find resources of that type with no specified provider, and assign them
the default provider. This allows us to avoid prefetching the same provider
twice (once for resources explicitly using it, and once for resources
implicitly using it because it's the default).

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU70114e97238e: (#6907) Allow providers to be selected in the run they become suitable
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU000a2d811c74: (#6907) Prefetch unsuitable providers (authored by Nick Lewis <nick@puppetlabs.com>).Nov 29 2011, 2:12 AM