As of 2022-11-22 this gem is no longer mainained, or supported. Use at your own risk.
The original README.md contents are preserved below.
Gem for deploying and destroying a VM on different IAASs such as AWS, vSphere, vCloud, and Openstack
Add this line to your application's Gemfile:
gem 'vm_shepherd'
And then execute:
$ bundle
Or install it yourself as:
$ gem install vm_shepherd
require 'vm_shepherd'
settings = # A Hash with the expected IaaS specific settings.
# => See YAML under spec/fixtures/shepherd/ for expected values
# create a new VM
shep = VmShepherd::Shepherd.new(settings: settings)
shep.deploy(path: 'path/to/vm.image')
# destroy an existing VM
shep = VmShepherd::Shepherd.new(settings: settings)
shep.destroy
- Fork it ( https://github.com/pivotal-cf-experimental/vm_shepherd/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request