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 2011 13:01, Adrian Casajús <[email protected]> wrote:
> Hi,
>
>  Thanks for the tip. I'll try that out on monday :)
>
> Cheers,
> Adri
>
> On 27 August 2011 00:21, Stefan Schulte <[email protected]> 
> 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 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 configuration client: Could not find a
>>> default provider for passwduser
>>>
>>> If I go to the server and modify a single line just to trigger the
>>> sync and execute the agent again, it properly syncs the modification
>>> and runs properly the provider. Then if I run again it goes back to no
>>> default provider.
>>>
>>> Any hints? tips? I've looked at the docs and the mailing list and
>>> haven't found anything similar.
>>>
>>> Thanks for any hint.
>>>
>>> Cheers,
>>>  Adri
>>
>> Both files are .rb Files? I just know that when puppet syncs plugins, it
>> will load them no matter what they are (READMEs, helper scripts that are
>> not written in ruby, etc) while on a normal puppetrun puppet will just
>> load the ruby code.
>>
>> -Stefan
>>
>

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

Reply via email to