I have a use case where I occasionally want to copy a single file from my host machine to the Vagrant guest.
I don\'t want to do so via traditional provisioners (Pup
What I ended up doing was to keep the file within my vagrant directory (automatically mounted as /vagrant/) and copy it over with a shell provisioner:
command = "cp #{File.join('/vagrant/', path_within_repo)} #{remote_file}" config.vm.provision :shell, :inline => command