This error is on the server right?

Does the problem go away if you copy the provider to
/var/lib/puppet/provider/package/flatpkg.rb on the *server* ?


On Tue, Mar 23, 2010 at 9:43 AM, Roy Nielsen <[email protected]> wrote:
> Hello,
>
> I wrote my own package provider for Mac flat packages, copied the .rb file
> to both the server and client puppet trees.  The package provider works fine
> when I do that.
>
> I'd prefer being able to put the provider in a module, say:
>
> <environment>/modules/<modulename>/lib/puppet/provider/package/flatpkg.rb
>
> (as set out in:
> http://projects.reductivelabs.com/projects/puppet/wiki/Module_Organisation -
> we're using 0.25, so we substituted lib for plugins)
>
> so I didn't have to manually copy the file to the clients - and it complains
> that:
>
> err: Could not run Puppet configuration client: Invalid package provider
> 'flatpkg' at
> /Groups/roytest/modules/flattest/manifests/definitions/fpkg.pp:31
>
> Any suggestions?
>
> Thanks,
> -Roy
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" 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-dev?hl=en.
>



-- 
nigel

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

Reply via email to