Checkpoint / the simplest test looks to be working now (~/.vimrc)
[vagrant-dotfiles.git] / lib / vagrant-dotfiles.rb
diff --git a/lib/vagrant-dotfiles.rb b/lib/vagrant-dotfiles.rb
new file mode 100644 (file)
index 0000000..84aecbc
--- /dev/null
@@ -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