0.0
No commit activity in last 3 years
No release in over 3 years
Upload Provisioner
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

Vagrant Upload Provisioner

This is a Vagrant 1.2+ plugin that adds an Upload provisioner to Vagrant, allowing you to provide files to your guest via rsync.

Can be handy when you need to transfer files before applying another provisioner. E.g.: When you need to transfer puppet certificates to your guest before appying puppet server provisionning.

NOTE: This plugin requires Vagrant 1.2+

Installation

$ vagrant plugin install vagrant-upload

Usage

Vagrant.configure("2") do |config|

  config.vm.box = "box"

  config.vm.provision :upload, files: [{
    host: '~/.bin/*',
    guest: '/home/username/.bin'
  }]

end

Configuration

This provisioner exposes one option:

  • files - An array of hashes which specifies which host files you want to transfer to the guest like shown in the Usage example.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request