On Oct 4, 2009, at 9:58 PM, Matt Delves wrote:

> Hey all,
> I'm in the process of writing up a new type and provider for puppet  
> though am having trouble getting it all to work.
>
> The errors I'm seeing are that in the tests it isn't finding the  
> provider class correctly and as such doesn't recognise the existence  
> of the populate method or ensure that the type is created correctly.
>
> I've attached a diff file which should contain the required files.  
> If there are any problems with the diff, let me know and I'll  
> attempt to fix them.


This is going to sound odd, but try removing the 'require' from the  
provider.  Also try loading the files directly in ruby to make sure  
there's no syntax error, with something like:

ruby -rpuppet <path/to/file.rb>

If that doesn't work, can you resend the patch inline, rather than as  
an attachment?

-- 
It isn't necessary to have relatives in Kansas City in order to be
unhappy. -- Groucho Marx
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
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