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.

Source Distribution

fabrant-0.0.3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

fabrant-0.0.3-py2-none-any.whl (3.6 kB view details)

Uploaded Python 2

File details

Details for the file fabrant-0.0.3.tar.gz.

File metadata

  • Download URL: fabrant-0.0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fabrant-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fd50724bfed998eb4d5159c7849d6bad74818c2f10aed37384010f7ce6d601df
MD5 03f2d729014768f38b775278c5249eb4
BLAKE2b-256 319f7c417933d869dfd213c939670e56d503788f8b4f053d9918d5c232049880

See more details on using hashes here.

File details

Details for the file fabrant-0.0.3-py2-none-any.whl.

File metadata

File hashes

Hashes for fabrant-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 dbaf2cdf460c3868abc1a36b2b91e7fe9a777883a3d38d5fc401b9eeac4060c4
MD5 5f0c9ca4a6b3ae295f4cb7c1e4a8cfe8
BLAKE2b-256 2f4289a39c697fd0c79863d989eb27bcd7cccce2c48824ca4afea45e83c5b4b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page