Skip to main content

Easy handling of vagrant hosts within fabric

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fabrant-0.0.4-py2.py3-none-any.whl (3.6 kB) Copy SHA256 hash SHA256 Wheel 2.7 Mar 2, 2016
fabrant-0.0.4.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None Mar 2, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page