Sha256: 1a3ed9c967989206258ec7712cb4ff77715545d5c649e3f8f5e22afb4cf792fc

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

[![Build Status](https://travis-ci.org/fgimenez/vagrant-shell-commander.png)](https://travis-ci.org/fgimenez/vagrant-shell-commander)
[![Code Climate](https://codeclimate.com/github/fgimenez/vagrant-shell-commander.png)](https://codeclimate.com/github/fgimenez/vagrant-shell-commander)

# Vagrant::Shell::Commander

Vagrant plugin for executing arbitrary shell commands on guest. Executes the given command on all the machines on multinode environments. It also gives the option to specify a working directory.

## Installation

As usual with vagrant plugins:

    $ vagrant plugin install vagrant-shell-commander

## Usage

To execute a command on all the machines:

    $ vagrant sh --cmd 'free'

Restrict the machine to run:

    $ vagrant sh --cmd 'free' machine1

Specify the working directory:

    $ vagrant sh --cmd 'ls -al' --dir '/srv/www'

Get help:

    $ vagrant sh -h

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Add and implement your specs
4. Commit your changes (`git commit -am 'Add some feature'`)
5. Push to the branch (`git push origin my-new-feature`)
6. Create new Pull Request

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-shell-commander-0.1.2 README.md
vagrant-shell-commander-0.1.1 README.md