class Vagrant::RsVagrantShim::Provisioners::RsVagrantShim

Public Class Methods

config_class() click to toggle source
# File lib/rs_vagrant_shim/vagrant/rs_vagrant_shim/provisioners/rs_vagrant_shim.rb, line 70
def self.config_class
  Config
end

Public Instance Methods

cleanup() click to toggle source
Calls superclass method
# File lib/rs_vagrant_shim/vagrant/rs_vagrant_shim/provisioners/rs_vagrant_shim.rb, line 81
def cleanup
  @hostname_dir = File.join(Dir.pwd, 'rs_vagrant_shim', @env[:vm].config.vm.host_name)
  FileUtils.rm_rf @hostname_dir if File.directory? @hostname_dir
  super
end
provision!() click to toggle source
Calls superclass method
# File lib/rs_vagrant_shim/vagrant/rs_vagrant_shim/provisioners/rs_vagrant_shim.rb, line 74
def provision!
  super

  # Delete the one-time runlist file
  FileUtils.rm @config.one_time_runlist_file if @config.one_time_runlist_file && File.exist?(@config.one_time_runlist_file)
end