Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for fabrant, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size fabrant-0.0.6-py2.7.egg (3.8 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size fabrant-0.0.6-py2.py3-none-any.whl (3.8 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size fabrant-0.0.6.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page