X-Git-Url: https://pwan.org/git/?p=vagrant-dotfiles.git;a=blobdiff_plain;f=lib%2Fvagrant-dotfiles.rb;fp=lib%2Fvagrant-dotfiles.rb;h=84aecbc22716403337eb75b80ae2e6f1c9fec5c6;hp=0000000000000000000000000000000000000000;hb=e83a68ac49cf7bf169e58b5706605b072b4966a3;hpb=fa35bc36a5430811c454bc6f93aca0f6bdf20348 diff --git a/lib/vagrant-dotfiles.rb b/lib/vagrant-dotfiles.rb new file mode 100644 index 0000000..84aecbc --- /dev/null +++ b/lib/vagrant-dotfiles.rb @@ -0,0 +1,21 @@ +module VagrantPlugins + module VagrantDotfiles + class Plugin < Vagrant.plugin("2") + name "vagrant-dotfiles" + description <<-DESC + Provide support for copying home directory files mentioned in ~/.vagrant/dotfiles + to the /vagrant directory on the vagrant box. + DESC + + config('vagrant-dotfiles', :provisioner) do + require File.expand_path("../config", __FILE__) + Config + end + + provisioner('vagrant-dotfiles') do + require File.expand_path("../provisioner", __FILE__) + Provisioner + end + end + end +end