On Feb 22, 2011, at 4:45 PM, Steve Shipway wrote:
> I've created some new parser functions in the lib/puppet/parser/
> functions directory, which work fine.
>
> However, the first time a client runs, it will copy these .rb files
> over to the client, where they fail to load (because they require
> additional ruby gems not present on the client). After this, all
> works fine, since the functions are only called by the parser, which
> runse on the puppetmaster.
>
> My question is, surely this is a bug? I dont think the client should
> get a copy of the lib/puppet/parser tree (although obviously it needs
> the lib/facter tree) and even if it gets a copy, it shouldn't load
> them as it isn't doing the parsing. These error messages are
> confusing and unnecerrary...
This is kind of a bug. Basically, the Puppet client loads all plugins as
they're downloaded, rather than on demand. This is very related to the
discussion going on about plugins and rubylib in another thread.
--
The great aim of education is not knowledge but action.
-- Herbert Spencer
---------------------------------------------------------------------
Luke Kanies -|- http://puppetlabs.com -|- +1(615)594-8199
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" 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-dev?hl=en.