Issue #6668 has been updated by Nick Fagerlund.

Status changed from Unreviewed to Closed

Fixed and hopefully much more clear. 
----------------------------------------
Bug #6668: 'Plugins in modules' page has incorrect location for providers
https://projects.puppetlabs.com/issues/6668

Author: John Arundel
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 


On the 'Plugins in modules' page, under 'Module structure for 0.25.x and 
later', it says that custom providers should be placed in:

<pre>
MODULEPATH/MODULE/lib/puppet/provider
</pre>

This doesn't work, at least in Puppet 2.6.4. Puppet just doesn't find the 
provider. Looking at some working examples, it seems as though the provider 
needs to be in:


<pre>
MODULEPATH/MODULE/lib/puppet/provider/TYPE
</pre>

In other words, if you have a provider 'bar.rb' for a type 'foo', the file 
needs to be:

<pre>
MODULEPATH/MODULE/lib/puppet/provider/foo/bar.rb
</pre>



-- 
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://projects.puppetlabs.com/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