Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
- Custom functions saved to the agent during pluginsync should be available during catalog application
-
Froyo
-
New Feature
-
-
Needs Assessment
Description
Pluginsync saves files on the agent in the path /opt/puppetlabs/puppet/cache/*. Notably, custom defined functions are saved in the lib/puppet/functions/ inside the the cache directory.
With the Deferred type in this [PR|]https://github.com/puppetlabs/puppet/pull/6951] merged, a catalog could defer a function to run during client application of the catalog, but the lack of loading in functions saved via pluginsync would result in an error with Puppet unable to find the definition for custom defined functions loaded via modules.
Attachments
Issue Links
- relates to
-
PUP-9509 Puppet 3 API functions should be loaded from the pluginsync location as part of the cache system loader
-
- Resolved
-