Issue #13858 has been updated by Patrick Carlisle. Status changed from Needs Decision to In Topic Branch Pending Review Assignee changed from Michael Stahnke to Patrick Carlisle Branch set to https://github.com/pcarlisle/puppet/tree/ticket/master/13858-types-in-environments
My local testing is pretty basic but this patch works for me: https://github.com/pcarlisle/puppet/commit/71fda58f327d680f6c55dbf15c8443014d264f66 I would love some validation on that if you are in a position to test, eric It won't fix the situation of getting you the right version all the time if you're using different versions of a type in different environments, but that's a separate issue (#12173) ---------------------------------------- Bug #13858: Custom types in environments require loading into master's libdir https://projects.puppetlabs.com/issues/13858#change-61327 Author: eric sorenson Status: In Topic Branch Pending Review Priority: Normal Assignee: Patrick Carlisle Category: modules Target version: Affected Puppet version: Keywords: Branch: https://github.com/pcarlisle/puppet/tree/ticket/master/13858-types-in-environments An attempt to distill down the back-and-forth from #4409, as it applies to 2.7.x: * The master needs to load new types locally to validate parameters * In order to do so, the type rb files need to be available in the master's `$libdir`, and only get there by being pluginsync'ed * Therefore, environments which have custom types in `$modulepath` directories that the master does not itself use (when running as a client), cannot be used. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
