On Sun, Aug 28, 2011 at 01:16:25PM +0200, Adrian Casajús wrote: > Hi again, > > I just checked and both files are rb files: > > /etc/puppet/modules/users/lib/puppet $ find . > ./provider > ./provider/passwdparser.rb > ./type > ./type/passwduser.rb > > > The passwduser type seems to be properly loaded each time but the > passwdparser provider doesn't. > > Cheers, > Adri >
The directory structure should read [1] type/<type>.rb provider/<type>/<provider>.rb so in your case it should be lib/puppet/type/passwduser.rb lib/puppet/provider/passwduser/passwdparser.rb Let me know if it is working now. [1] http://docs.puppetlabs.com/guides/plugins_in_modules.html#module-structure-for-025x-and-later -Stefan
pgphHsEFQ3oC4.pgp
Description: PGP signature