Class: Chef::Resource::VagrantBox

Inherits:
LWRPBase
  • Object
show all
Defined in:
lib/chef/resource/vagrant_box.rb

Instance Method Summary collapse

Instance Method Details

#after_createdObject



14
15
16
17
# File 'lib/chef/resource/vagrant_box.rb', line 14

def after_created
  super
  Chef::Provisioning::VagrantDriver.with_vagrant_box run_context, self
end

#load_prior_resource(*args) ⇒ Object

We are not interested in Chef’s cloning behavior here.



20
21
22
# File 'lib/chef/resource/vagrant_box.rb', line 20

def load_prior_resource(*args)
  Chef::Log.debug("Overloading #{resource_name}.load_prior_resource with NOOP")
end