Sha256: 4820f408890327832340452aabd68691fa42ef647e2a179fba8140fc32b9f607

Contents?: true

Size: 1.11 KB

Versions: 51

Compression:

Stored size: 1.11 KB

Contents

# VmShepherd [![Build Status](https://travis-ci.org/pivotal-cf-experimental/vm_shepherd.svg)](https://travis-ci.org/pivotal-cf-experimental/vm_shepherd)

Gem for deploying and destroying a VM on different IAASs such as AWS, vSphere, vCloud, and Openstack

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'vm_shepherd'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install vm_shepherd

## Usage

```ruby
require 'vm_shepherd'

settings =  # An OpenStruct 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
```

## Contributing

1. Fork it ( https://github.com/pivotal-cf-experimental/vm_shepherd/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
vm_shepherd-1.11.0 README.md
vm_shepherd-1.10.1 README.md
vm_shepherd-1.10.0 README.md
vm_shepherd-1.9.1 README.md
vm_shepherd-1.9.0 README.md
vm_shepherd-1.8.4 README.md
vm_shepherd-1.8.3 README.md
vm_shepherd-1.8.2 README.md
vm_shepherd-1.8.1 README.md
vm_shepherd-1.8.0 README.md
vm_shepherd-1.7.3 README.md
vm_shepherd-1.7.2 README.md
vm_shepherd-1.7.1 README.md
vm_shepherd-1.7.0 README.md
vm_shepherd-1.6.1 README.md
vm_shepherd-1.6.0 README.md
vm_shepherd-1.5.4 README.md
vm_shepherd-1.5.3 README.md
vm_shepherd-1.5.2 README.md
vm_shepherd-1.5.1 README.md