mark ardiente
2010-Sep-14 12:00 UTC
[Puppet Users] Error in using custom providers - can''t recognize custom provider
Hi, I''m using custom providers for installing pear and pecl package. But every time I ran puppetd --test, it says that pear provider is not recognized. But when I remove the custom providers from /var/lib/puppet/lib/puppet/provider (client server), and ran puppetd --test once more, it downloads the custom providers and everything works out fine. Is this a bug in 2.6 --Mark -- 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.
SiD
2010-Sep-15 14:53 UTC
[Puppet Users] Re: Error in using custom providers - can''t recognize custom provider
Hey Mark, I''ve recently asked for a similar question as yours. So be careful, the correct directory for a custom provider is : <module>/lib/puppet/provider/package/<your_provider.rb> Then Puppet will copy it into /var/lib/puppet/lib/puppet/provider/ package/<your_provider.rb>. Hope it helps On Sep 14, 2:00 pm, mark ardiente <mark_k...@yahoo.com> wrote:> Hi, > > I''m using custom providers for installing pear and pecl package. But every time > I ran puppetd --test, > > it says that pear provider is not recognized. > > But when I remove the custom providers from /var/lib/puppet/lib/puppet/provider > (client server), > and ran puppetd --test once more, it downloads the custom providers and > everything works out fine. > > Is this a bug in 2.6 > > --Mark-- 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.