mitchellh/vagrant — pull request #1717 by toretore (2013-05-11 14:21:19+00:00)
Title: Emit Ubuntu Upstart 'vagrant-mounted' for newer versions

Vagrant used to emit a 'vagrant-mounted' event after mounting shared folders on Ubuntu, but newer versions don't. This commit adds the same functionality to the "capabilities" for the ubuntu plugin. It does this for both "regular" and NFS, but I've commented out the NFS capability because I'm not able to test that it works. The only testing I've done with the regular type is to see that it works on my machine.

I don't really know what I'm doing here; I'm not familiar with the codebase or how Vagrant's inner parts work. I figured out there's a difference between the Ubuntu "guest" and "plugin" functionality and that the newer version I installed uses "plugin", so I duplicated the functionality in "guest". There may be a better way to do it.