|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Vagrant Hostmanager||1,450||7||1||2 years ago||35||May 18, 2018||71||mpl-2.0||Ruby|
|:pencil: A Vagrant plugin that manages hosts files within a multi-machine environment.|
|Vagrant Lamp||770||4 years ago||29||Ruby|
|My default LAMP development stack for Vagrant|
|Landrush||663||5||3 years ago||38||May 06, 2019||54||mit||Ruby|
|A Vagrant plugin that provides a simple DNS server for Vagrant guests|
|Netplugin||473||4 years ago||37||May 24, 2021||152||apache-2.0||Go|
|Container networking for various use cases|
|Magento2 Vagrant For Developers||448||4 years ago||46||mit||Shell|
|Vagrant Box for Magento 2 Developers|
|Socketplane||409||4 years ago||December 26, 2014||36||apache-2.0||Go|
|SocketPlane - Multi-Host Container Networking|
|Vagrant Hosts||297||22||1||4 years ago||36||January 03, 2019||15||other||Ruby|
|Manage static DNS on vagrant guests|
|Ansible Jenkins||276||6 years ago||10||mit||Groovy|
|Ansible playbook: Jenkins|
|Vvv Dashboard||264||5 years ago||17||PHP|
|Dashboard for Varying Vagrant Vagrants https://github.com/Varying-Vagrant-Vagrants/VVV|
|Vagrant Django Template||246||7 years ago||other||Python|
|Skeleton project for a Django app running under Vagrant|
An rsync watcher for Vagrant 1.5.1+ that uses fewer host resources at the potential cost of more rsync actions.
To get started, you need to have Vagrant 1.5.1 installed on your Linux, Mac, or Windows host machine. To install the plugin, use the following command.
vagrant plugin install vagrant-gatling-rsync
Add the following information to the Vagrantfile to set the coalescing threshold in seconds. If you do not set it, it will default to 1.5.
You may also specify what Time.strftime options the plugin will use when it reports on completed rsyncs. The default is "%I:%M:%S %p".
You will also need to have at least one synced folder set to type "rsync" to use the plugin.
VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "hashicorp/precise64" config.vm.synced_folder "../files", "/opt/vagrant/rsynced_folder", type: "rsync", rsync__exclude: [".git/", ".idea/"] # Configure the window for gatling to coalesce writes. if Vagrant.has_plugin?("vagrant-gatling-rsync") config.gatling.latency = 2.5 config.gatling.time_format = "%H:%M:%S" end # Automatically sync when machines with rsync folders come up. config.gatling.rsync_on_startup = true end
With the Vagrantfile configured in this fashion, you can run the following command to sync files.
As of version 0.9.0, vagrant-gatling-rsync will automatically start the sync
vagrant up or
vagrant reload when the machines that you bring up
have one or more rsync folders defined. You can disable this behavior by
config.gatling.rsync_on_startup to false.
The gatling gun was the first gun capable of firing continuously.
The built-in rsync-auto plugin sometimes uses a lot of CPU and disk I/O when it starts up on very large rsynced directories. This plugin is designed to work well with such large rsynced folders.
The rsync-auto command that ships with Vagrant 1.5 uses the listen gem. The Listen gem is quite thorough - it uses Celluloid to spin up an actor system and it checks file contents on OS X to ensure that running "touch" on a file (to do a write but not update its content) will not fire the rsync command.
The downside of using Listen is that it takes a large amount of host resources to monitor large directory structures. This gem works well with to monitor directories hierarchies with 10,000-100,000 files.
This gem's implementation is much closer to the underlying fsevent or inotify APIs, which allows for higher performance.
This plugin also coalesces events for you. The default latency is 1.5 seconds.
It is configurable through the
If you specify a latency of two seconds, this plugin will not fire a
vagrant rsync until two contiguous seconds without file events have passed.
This will delay rsyncs from happening if many writes are happening on the host
make or a
git clone, for example) until the activity has leveled off.
Steven Merrill (@stevenmerrill) originally had the idea to tap into rb-fsevent and rb-inotify to more efficiently rsync files.
Doug Marcey (@dougmarcey) provided considerable guidance in the implementation of the coalescing functionality and wrote the initial sketch of the Linux and Windows adapters.