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.1.tar.gz (2.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for fabrant-0.0.1.tar.gz
Algorithm Hash digest
SHA256 54ce91ac80232d39e39d7135b6a43db1b7462c5ca3ef975832dbfdde570f6dd3
MD5 b817ee97e6b7bd8c3177f860e6709cb8
BLAKE2b-256 a7cc33e23db6580a9c668a9ed78d1714011f21dd6e53702fdd116bf4dc8e8bb9

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