fabrant

Easy handling of vagrant hosts within fabric


License
MIT
Install
pip install fabrant==0.0.5

Documentation

fabrant

Easy handling of vagrant hosts within fabric

Installation

Easy as py(pi):

$ pip install --upgrade fabrant

From git source:

$ git clone https://github.com/constantinius/fabrant.git
$ cd fabrant
$ python setup.py install

Usage

Using fabrant within a fabric script is easy:

from fabrant import vagrant

# specify path for vagrant dir. Start the box if it is not already running.
# Halt the box when context is closed.
with vagrant("path/to/dir", up=True, halt=True):
    run("ls /vagrant")  # prints contents of usually enabled share

Contribute

Report any issues you find here or create pull requests.