A CLI helper tool for Puppet vmpooler to help you stay afloat
Find a file
Brian Cain 7015fc3b20 Check for token variable instead of from options
Update the get method to only retrieve tokens if one doesn't exist from
either the cli arguments or from a dotfile
2015-09-15 15:22:13 -07:00
bin (#1) Update vmfloaty to use new vmpooler api 2015-09-05 16:17:45 -07:00
lib Check for token variable instead of from options 2015-09-15 15:22:13 -07:00
spec Initial commit of vmfloaty 2014-10-28 22:05:33 -07:00
.gitignore Initial commit of vmfloaty 2014-10-28 22:05:33 -07:00
Gemfile (#1) Update vmfloaty to use new vmpooler api 2015-09-05 16:17:45 -07:00
LICENSE Initial commit of vmfloaty 2014-10-28 22:05:33 -07:00
README.md Add vmpooler link in README 2015-09-07 14:27:15 -07:00
vmfloaty.gemspec Check for token variable instead of from options 2015-09-15 15:22:13 -07:00
vmfloaty.yml.example Add example dotfile config 2015-09-07 14:14:42 -07:00

vmfloaty

A CLI helper tool for Puppet Labs vmpooler to help you stay afloat.

Install

Grab the latest from ruby gems...

gem install vmfloaty

Usage

    delete   Schedules the deletion of a host or hosts
    get      Gets a vm or vms based on the os flag
    help     Display global or [command] help documentation
    list     Shows a list of available vms from the pooler
    modify   Modify a vms tags and TTL
    query    Get information about a given vm
    revert   Reverts a vm to a specified snapshot
    snapshot Takes a snapshot of a given vm
    status   Prints the status of vmpooler
    summary  Prints the summary of vmpooler
    token    Retrieves or deletes a token

  GLOBAL OPTIONS:

    -h, --help
        Display help documentation

    -v, --version
        Display version information

    -t, --trace
        Display backtrace when an error occurs

vmfloaty dotfile

If you do not wish to continuely specify various config options with the cli, you can have a dotfile in your home directory for some defaults. For example:

#file at /Users/me/.vmpooler.yml
url: 'http://vmpooler.mycompany.net'
user: 'brian'

Now vmfloaty will use those config files if no flag was specified.

vmpooler API

This cli tool uses the vmpooler API.