Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/calavera/vm-watcher
Continuous vm provisioning
https://github.com/calavera/vm-watcher
Last synced: about 2 months ago
JSON representation
Continuous vm provisioning
- Host: GitHub
- URL: https://github.com/calavera/vm-watcher
- Owner: calavera
- License: mit
- Created: 2012-07-30T01:46:39.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-30T01:52:43.000Z (over 12 years ago)
- Last Synced: 2024-10-30T14:18:49.686Z (2 months ago)
- Language: Ruby
- Size: 88.9 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vm::Watcher
Continuous VM provisioning.
## Installation
Or install it yourself as:
$ gem install vm-watcher
## Usage
1. Set up a VM using Vagrant.
2. Write your `script/provision` script, for instance to use chef-solo:chef-solo -j dna.json -c solo.rb
3. Run `vm-watcher` from the terminal. It executes the provisioning script
inside the VM every time one of the files change.There a several options that you can modify:
```
--watch: pattern that matches the files to watch, `Dir.pwd/**/*` by default.
--script: script to execute when one of those files change, `script/provision` by default.
--interval: sleep time before each check, 1 sec by default.
```## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request