Checkpoint / the simplest test looks to be working now (~/.vimrc)
[vagrant-dotfiles.git] / lib / copy_my_conf / provisioner.rb
diff --git a/lib/copy_my_conf/provisioner.rb b/lib/copy_my_conf/provisioner.rb
deleted file mode 100644 (file)
index f089200..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-module CopyMyConf
-  class Provisioner < Vagrant.plugin("2", :provisioner)
-
-    def configure(root_config)
-      `rm -rf /tmp/copy_my_conf`
-      @to_be_copied = []
-      config.all_enabled_attributes.each do |conf|
-        @to_be_copied << conf
-        conf.prepare root_config.vm, tmp_root
-      end
-    end
-
-    def provision
-      channel = @machine.communicate
-      @to_be_copied.each do |conf|
-        conf.provision channel, user_home, tmp_root
-      end
-    end
-
-    def self.config_class
-      Config
-    end
-
-  private
-
-    def tmp_root
-      "/tmp/copy_my_conf"
-    end
-
-    def user_home
-      config.user_home || "/home/vagrant"
-    end
-  end
-end
-