Class: VagrantPlugins::UpliftCheckpoint::Provisioner
- Inherits:
-
Object
- Object
- VagrantPlugins::UpliftCheckpoint::Provisioner
- Defined in:
- lib/vagrant-uplift/plugin-vagrant-uplift-checkpoint.rb
Instance Method Summary collapse
Instance Method Details
#provision ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/vagrant-uplift/plugin-vagrant-uplift-checkpoint.rb', line 28 def provision machine_name = @machine.name checkpoint_name = config.name dir = ".vagrant/machines/#{machine_name}/virtualbox/.uplift/" FileUtils.mkdir_p dir file_name =File.join(dir, ".checkpoint-#{checkpoint_name}") File.write(file_name, 'ok') end |