Re: [Puppet Users] Custom provider works only immediately after sync

2011-08-29 Thread Adrian Casajús
Hi, Thanks! It worked. I clearly overlooked that bit. Cheers, Adri On 28 August 2011 22:29, Stefan Schulte wrote: > 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

Re: [Puppet Users] Custom provider works only immediately after sync

2011-08-28 Thread Stefan Schulte
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

Re: [Puppet Users] Custom provider works only immediately after sync

2011-08-28 Thread Adrian Casajús
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 On 28 August 20

Re: [Puppet Users] Custom provider works only immediately after sync

2011-08-28 Thread Adrian Casajús
Hi, Thanks for the tip. I'll try that out on monday :) Cheers, Adri On 27 August 2011 00:21, Stefan Schulte wrote: > On Fri, Aug 26, 2011 at 08:13:03AM -0700, Adrian Casajús wrote: >> Hi all, >> >>  I've got a custom type with a single custom provider. I've got >> enabled pluginsync in both cl

Re: [Puppet Users] Custom provider works only immediately after sync

2011-08-26 Thread Stefan Schulte
On Fri, Aug 26, 2011 at 08:13:03AM -0700, Adrian Casajús wrote: > Hi all, > > I've got a custom type with a single custom provider. I've got > enabled pluginsync in both client and server. When I run the puppet > agent in the client it syncs the type and the provider and properly > executes them.

[Puppet Users] Custom provider works only immediately after sync

2011-08-26 Thread Adrian Casajús
Hi all, I've got a custom type with a single custom provider. I've got enabled pluginsync in both client and server. When I run the puppet agent in the client it syncs the type and the provider and properly executes them. But if I execute the agent again it will tell me err: Could not run Puppet