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?

Thanks,

Nan

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