No commit activity in last 3 years
No release in over 3 years
Version of vagrant-notify-forwarder that does not need port forwarding
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 2.0
~> 10.0
 Project Readme

savi-vagrant-notify

A vagrant plugin that removes the need for port forwarding udp in the otherwise excellent vagrant-notify-forwarder plugin.

Instead of sending the udp notification to 127.0.0.1, this plugin looks up the public ip of the guest vm and forwards all notifications to that address.

Thanks to vagrant-address for figuring out how to look up the address.

The remainder of this document has only minor changes from the document in the original.

Vagrant file system notification forwarder plugin

A vagrant plugin that uses notify-forwarder to forward file system events from the host to the guest automatically on all shared folders.

This is useful for auto reloading file systems that rebuild when files change. Normally, they have to use CPU intensive polling when watching shared folders. This plugin makes them able to use inotify or similar for improved performance and reduced CPU usage.

Installation and usage

$ vagrant plugin install savi-vagrant-notify
$ vagrant reload

The server and guest binaries will be automatically downloaded from the notify-forwarder repo's releases and verified with SHA256.

Permissions

The client in the guest OS will run as root by default, assuming passwordless sudo works. If this does not work, you can disable privilege escalation in your Vagrantfile:

config.notify_forwarder.run_as_root = false

Supported operating systems

To conserve size and dependencies, the plugin downloads binaries for supported platforms. This plugin supports the same host/guest platforms as notify-forwarder itself:

  • FreeBSD 64 bit as guest,
  • Linux 64 bit as host and guest, and
  • Mac OS X 64 bit as host and guest.

If you're running an unsupported host or guest and want to disable this plugin for a specific machine, add the following line to your Vagrantfile:

config.notify_forwarder.enable = false

Contributors