knife-libvirt
knife-libvirt copied to clipboard
Gem Structure
How to give this project a standard gem structure.
- Run
bundle gemin the root of the project to get a.gemspec, aGemfile, and alibdirectory with aversion.rb. - Move Ruby code files to
lib/knife/libvirt/(flavor|host|server|storage).rb. - Add a
lib/knife/libvirt.rbwhich requires each of the above. - Add a
lib/knife-libvirt.rbwhich requiresknife/libvirt(optional).
hey, thanks! I must admit this plugin took a bit of a back seat when I came up against some design decisions about how to best bring new hosts online (introduce a dependency on cobbler, use preseeds or custom ISOs etc).. I was hoping to take another look at and use the fog provider at the same time, which @jedi4ever is working on: https://github.com/jedi4ever/fog/tree/libvirt - it definitely makes a lot of sense for this to use fog.
That being said, I like the idea of rolling this as a gem, so I'll have a go at the requested changes :)
Have started this in the gem branch