Hi .*, with the first puppet run on a freshly installed system all custom types and providers a synced. As you can see from the output for some reason puppet tries to load the providers before the types and therefore the custom provider loads throw an error. It looks like the load happens alphabetically ordered, such that providers are loaded before the types... Anyway the puppet run afterwards seems to be fine. Is this a bug or am I doing something wrong? Here the output: info: Retrieving plugin notice: /File[/var/lib/puppet/lib/puppet/provider]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/groupmembers]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/groupmembers/groupadd.rb]/ensure: content changed ''{md5}d192f0bcb6642afc939e755acaa284f3'' to ''{md5}d192f0bcb6642afc939e755acaa284f3'' notice: /File[/var/lib/puppet/lib/puppet/provider/package]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/package/zypper.rb]/ensure: content changed ''{md5}72e2d43081cf4c87da62e4d285956399'' to ''{md5}72e2d43081cf4c87da62e4d285956399'' notice: /File[/var/lib/puppet/lib/puppet/provider/sysctl]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/sysctl/parsed.rb]/ensure: content changed ''{md5}6814a933459673af15383e4445ecdc57'' to ''{md5}6814a933459673af15383e4445ecdc57'' notice: /File[/var/lib/puppet/lib/puppet/type]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/type/append_if_no_such_line.rb]/ensure: content changed ''{md5}463a51cc5e538dbe658af9041191949d'' to ''{md5}463a51cc5e538dbe658af9041191949d'' notice: /File[/var/lib/puppet/lib/puppet/type/groupmembers.rb]/ensure: content changed ''{md5}f8cf9fb977776071078252a35c1807d2'' to ''{md5}f8cf9fb977776071078252a35c1807d2'' notice: /File[/var/lib/puppet/lib/puppet/type/sysctl.rb]/ensure: content changed ''{md5}975145a3f7c84ec4cc30c622e2acce8d'' to ''{md5}975145a3f7c84ec4cc30c622e2acce8d'' info: Loading downloaded plugin /var/lib/puppet/lib/puppet/provider/groupmembers/groupadd.rb err: Could not load downloaded file /var/lib/puppet/lib/puppet/provider/groupmembers/groupadd.rb: undefined method `provide'' for nil:NilClass info: Loading downloaded plugin /var/lib/puppet/lib/puppet/provider/package/zypper.rb info: Loading downloaded plugin /var/lib/puppet/lib/puppet/provider/sysctl/parsed.rb err: Could not load downloaded file /var/lib/puppet/lib/puppet/provider/sysctl/parsed.rb: undefined method `provide'' for nil:NilClass info: Loading downloaded plugin /var/lib/puppet/lib/puppet/type/append_if_no_such_line.rb info: Loading downloaded plugin /var/lib/puppet/lib/puppet/type/groupmembers.rb info: Loading downloaded plugin /var/lib/puppet/lib/puppet/type/sysctl.rb Thanks and bye, Frederik -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hello, Did this ever get an answer ? I am hitting the same thing. Cheers Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 30 Apr 2010, at 12:27, Paul wrote:> Hello, > > Did this ever get an answer ? > > I am hitting the same thing. >Dammit the error I am seeing is:- err: Could not load downloaded file /var/lib/puppet/lib/puppet/provider/sysctl/parsed.rb: undefined method `provide'' for nil:NilClass -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Frederik Wagner
2010-Apr-30 13:20 UTC
Re: [Puppet Users] Re: custom type/provider load error
On Fri, Apr 30, 2010 at 1:33 PM, Paul Seymour <seymourp@mac.com> wrote:> > On 30 Apr 2010, at 12:27, Paul wrote: > > Hello, > > Did this ever get an answer ? > > I am hitting the same thing. > > > Dammit the error I am seeing is:- > err: Could not load downloaded file > /var/lib/puppet/lib/puppet/provider/sysctl/parsed.rb: undefined method > `provide'' for nil:NilClassI submitted it as a bug: <http://projects.puppetlabs.com/issues/3561> Bye, Frederik> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.