Issue #2867 has been updated by Luke Kanies.

Status changed from Unreviewed to Rejected

This was discussed on the list, and the problem is that the provider is in the 
wrong location.  It should be in provider/package/mypkg.rb.
----------------------------------------
Bug #2867: Downloaded plugin does not get loaded after puppetd gets restarted.
http://projects.reductivelabs.com/issues/2867

Author: Robert Nagy
Status: Rejected
Priority: Urgent
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.1
Keywords: 
Branch: 


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




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--

You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.


Reply via email to