Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fgrehm/vagrant-global-status
[DEPRECATED] A proof of concept Vagrant plugin that keeps track of vagrant machines and provides a command for listing the status of all known machines.
https://github.com/fgrehm/vagrant-global-status
Last synced: 3 months ago
JSON representation
[DEPRECATED] A proof of concept Vagrant plugin that keeps track of vagrant machines and provides a command for listing the status of all known machines.
- Host: GitHub
- URL: https://github.com/fgrehm/vagrant-global-status
- Owner: fgrehm
- License: mit
- Archived: true
- Created: 2013-08-10T03:51:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-15T13:43:45.000Z (over 10 years ago)
- Last Synced: 2024-07-27T18:53:18.440Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 307 KB
- Stars: 61
- Watchers: 7
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# vagrant-global-status
A proof of concept [Vagrant](http://www.vagrantup.com/) plugin that keeps
track of vagrant machines and provides a command for listing the status of all
known machines.**NOTICE: This plugin is no longer being maintained as its functionality [has been implemented on Vagrant core](https://github.com/mitchellh/vagrant/pull/3225) and will be available with Vagrant 1.6+.**
## Installation
Make sure you have Vagrant 1.1+ and run:
```
vagrant plugin install vagrant-global-status
```## Usage
```
vagrant global-status [--all]-a, --all Displays information about all machines (instead of just the active ones)
-h, --help Print this help
```## How does it work?
Whenever you `vagrant up` a VM, the plugin will register the machine name and
path to its `Vagrantfile` on a global state file under `~/.vagrant.d`. That
is enough information for the `global-status` command to do its job and parse
machine's statuses.After a `vagrant destroy`, the VM will get removed from the global state file
and will no longer show up by default on `vagrant global-status` unless you pass
in `-a` to it.Besides that, the plugin is smart enough to detect [multiple combinations](lib/vagrant-global-status/global_environment.rb)
of Vagrant environments and is able to get the status for a machine that is
used for development of a Vagrant plugin using Bundler.## Current limitations / ideas for contributions
* Keeps track of active vagrant-lxc and VirtualBox VMs only
* Detect orphaned machines## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request