Robert
2009-Nov-28 17:57 UTC
[Puppet Users] Downloaded plugin does not get loaded after puppetd gets restarted.
Hi
When I run puppetd for the first time, it syncs ownpkg.rb from
puppetmasterd just fine, and then it autoloads it.
notice: /File[/var/puppet/lib/puppet/provider/ownpkg.rb]/content:
content changed ''{md5}efd758a6094c813f8480423b01d823ac'' to
''{md5}
b0f1f52803738bace6724ef5bfe5318a''
Finishing transaction -971820348 with 1 changes
Loading downloaded plugin /var/puppet/lib/puppet/provider/ownpkg.rb
Then I start puppetd again and because the file''s hash did not change
it''s not going to be retransmitted, and therefore it''s not
going to be
autoloaded.
So later on when I try to intall a package with provider => ownpkg,
it''s going to fail:
err: Could not run Puppet configuration client: Invalid package
provider ''ownkpg'' at /etc/puppet/manifests/classes/squid.pp:7
Any ideas how can i make it load it all the time?
Thanks
--
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.
Luke Kanies
2009-Dec-01 08:21 UTC
Re: [Puppet Users] Downloaded plugin does not get loaded after puppetd gets restarted.
On Nov 28, 2009, at 9:57 AM, Robert wrote:> Hi > > When I run puppetd for the first time, it syncs ownpkg.rb from > puppetmasterd just fine, and then it autoloads it. > > notice: /File[/var/puppet/lib/puppet/provider/ownpkg.rb]/content: > content changed ''{md5}efd758a6094c813f8480423b01d823ac'' to ''{md5} > b0f1f52803738bace6724ef5bfe5318a'' > Finishing transaction -971820348 with 1 changes > Loading downloaded plugin /var/puppet/lib/puppet/provider/ownpkg.rb > > Then I start puppetd again and because the file''s hash did not change > it''s not going to be retransmitted, and therefore it''s not going to be > autoloaded. > So later on when I try to intall a package with provider => ownpkg, > it''s going to fail: > > err: Could not run Puppet configuration client: Invalid package > provider ''ownkpg'' at /etc/puppet/manifests/classes/squid.pp:7 > > Any ideas how can i make it load it all the time?I thought I already answered this somewhere else, but maybe not. Basically, you have the wrong path for your provider - use provider/ package/ownpkg.rb, so Puppet will autoload it. -- Every great advance in natural knowledge has involved the absolute rejection of authority. --Thomas H. Huxley --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com -- 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.