Issue #12594 has been updated by Matt Wise. Status changed from Duplicate to Re-opened Priority changed from Low to High Affected Puppet version changed from 2.7.9 to 2.7.14
I'm not sure this is a duplicate of #11858, unless I mis-read that ticket. That ticket talks about consistency between runs and making sure that the client DOES load up the plugins each time it runs. In this case, we're having clients load up plugins that they should never get in the first place. Every time I build a new plugin on our Puppet master, it gets shipped to all of the clients and "loaded into memory" on all future runs. This causes all kinds of problems and warning messages to pop up if the clients are missing particular ruby gems. Its also just plain wrong. Pluginsync should be smart enough to only sync over "client-side" plugins, and NOT ship server-side plugins. I'd like to see this fixed by 3.0 because it seems like it should be a relatively simple fix. ---------------------------------------- Bug #12594: Parser functions in modules can cause errors on nodes, even though they only run on masters https://projects.puppetlabs.com/issues/12594#change-63474 Author: Joe McDonagh Status: Re-opened Priority: High Assignee: Patrick Carlisle Category: Target version: Affected Puppet version: 2.7.14 Keywords: Branch: I have this function called getinfo that loads puppet/rails and active_record so that I can query the store config db during catalog compilation on the master. I put this function in a module like you do with any type of plugin. Unfortunately, since not all my nodes have AR, I get this error when I update the function: err: Could not load downloaded file /var/lib/puppet/lib/puppet/parser/functions/getinfo.rb: uninitialized constant ActiveRecord Which is kind of stupid since this function is never going to run on a node anyways. It seems to go away after the initial download though. -- 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.
