If i try use a lot of instances with actions :define and :autostart it stuck libvirtd and libvirt don't answer before killing chef process. I think that happened because libvirt have max_clients connect and cookbook open (::Libvirt.open(new_resource.uri)) every time when handling one instance and action.
It is posible to make ::Libvirt.open(new_resource.uri) global for all providers?
Thanks.