HomePhorge

(PUP-3391) Plugin synced for incorrect environment while agent is resolving…
1eb4d77a2776Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3391) Plugin synced for incorrect environment while agent is resolving environment

Before this commit if an agents environment was changed the plugins from
the initial environment were synced instead of the plugins from the
environment where the node would end up. This would cause problems where
a manifest from one environment would be applied with custom types and
providers from a different environment.

This commit changes the behavior to sync plugins after every environment
resolution. We need to sync the plugins after every environment change
because this action needs to be performed before we can retrieve a
manifest for the node in a particular environment.

Details

Provenance
Britt Gresham <britt@puppetlabs.com>Authored on
Josh Partlow <joshua.partlow@puppetlabs.com>Committed on Nov 4 2014, 10:44 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU8213f9eaac2c: Merge pull request #3273 from kylog/issue/pup-3446/sign-cert-in-spec-test
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPU1eb4d77a2776: (PUP-3391) Plugin synced for incorrect environment while agent is resolving… (authored by Britt Gresham <britt@puppetlabs.com>).Nov 4 2014, 10:44 PM