<Derek.Whayman@barclayscapital.com>
2007-Dec-10 17:46 UTC
One more HEAD foible against our config
One more error/warning from the latest Puppet from git: In the provider I have KEYS = Facter.value(:roothome) + "/.ssh/authorized_keys" Puppet::Type.type(:authorizedkey).provide(:parsed, ... I get an error on the Puppetmaster: Could not autoload "/usr/lib/ruby/site_ruby/1.8/puppet/provider/authorizedkey/parsed.rb": undefined method `+'' for nil:NilClass Could not autoload "/usr/lib/ruby/site_ruby/1.8/puppet/provider/authorizedkey/parsed.rb": undefined method `+'' for nil:NilClass It''s still working (custom fact roothome is /root). On the client, debug lines let me see that the type is retrieving the custom fact correctly. After all, the type runs on the client. The custom fact roothome.rb lives in $libdir/facts ($factpath) as before. Regards, Derek ------------------------------------------------------------------------ For important statutory and regulatory disclosures and more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays Group does not accept legal responsibility for the contents of this message. Although the Barclays Group operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays Group for operational or business reasons. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group. ------------------------------------------------------------------------
On Dec 10, 2007, at 11:46 AM, <Derek.Whayman@barclayscapital.com> <Derek.Whayman@barclayscapital.com> wrote:> One more error/warning from the latest Puppet from git: > > In the provider I have > > KEYS = Facter.value(:roothome) + "/.ssh/authorized_keys" > > Puppet::Type.type(:authorizedkey).provide(:parsed, > ... > > > I get an error on the Puppetmaster: > Could not autoload > "/usr/lib/ruby/site_ruby/1.8/puppet/provider/authorizedkey/parsed.rb": > undefined method `+'' for nil:NilClass > Could not autoload > "/usr/lib/ruby/site_ruby/1.8/puppet/provider/authorizedkey/parsed.rb": > undefined method `+'' for nil:NilClass > > It''s still working (custom fact roothome is /root). On the client, > debug lines let me see that the type is retrieving the custom fact > correctly. After all, the type runs on the client. > > The custom fact roothome.rb lives in $libdir/facts ($factpath) as > before.So, the problem here is that nothing on the server is loading facts from the fact path. The strange thing is that I can''t think of anything that would have done so in 0.23.2, either, so I kinda hope this isn''t working in older code. At this point, I''m considering this not a bug I''m planning on fixing, with the idea that the factpath is only for the client. The server really doesn''t need more than a few facts, so this shouldn''t be a problem. -- God loved the birds and invented trees. Man loved the birds and invented cages. -- Jacques Deval --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com