HomePhorge

(PUP-3231) Don't check suitability if resource is missing tags.
d0cdfa2ecbb3Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3231) Don't check suitability if resource is missing tags.

A transaction applying resources has to lazily determine suitability of
resources, since changes being made during the application of the
catalog can alter whether the system is now in a state to apply a
resource. Specifically in the case of providers, a provider may become
suitable because of package installation performed during the
application. However if tags are being used, and a resource has not been
tagged, then it should not matter whether or not the specified provider
has been found for the resource.

Prior to this patch, unsuitable, untagged resources would halt the
transaction. With this patch, we check whether the deferred resource is
missing_tags? before issuing an error. With that change, a tagged run
will no longer halt if an untagged resource's provider is not available.

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPUd0cdfa2ecbb3: (PUP-3231) Don't check suitability if resource is missing tags. (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Sep 12 2014, 7:36 PM