On 10/6/2010 6:54 PM, Nan Liu wrote:
On Wed, Oct 6, 2010 at 8:43 AM, David Schmitt<[email protected]>  wrote:
On 03.10.2010 05:09, Spenser wrote:

I have been working on getting the puppet-virt module located at
http://github.com/carlasouza/puppet-virt to work.  I debugged two
small issues but have been stumped by this larger one.  My code with
the small changes are at http://github.com/Spenser309/puppet-virt.

Here is the command and response.

spen...@whisky:~$ ralsh virt mydom
Could not run: Provider libvirt has not defined the 'instances' class
method

ralsh gave up because it doesn't have a list of libvirt resources to
query their property.

What is this instances method and what does it do?  Also will this
method be in the provider or the type definition?

The libvirt provider did not provide a method to query what are all
manageable virtual instances on the system. A quick glance at the code
and documentation, the puppet ruby libvirt provider should implement
self.instances and populated with the results of the command:

virsh list --all


David, is your custom type on github?

Yes, it's the http://github.com/DavidS/puppet-mysql/ module. I overlooked that Spenser wrote about ralsh. I'm seeing that message also at puppetd runtime.


Best Regards, David

--
dasz.at OG              Tel: +43 (0)664 2602670     Web: http://dasz.at
Klosterneuburg                                         UID: ATU64260999

       FB-Nr.: FN 309285 g          FB-Gericht: LG Korneuburg

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