Class: Chef::Resource::VagrantCluster

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

Instance Method Summary collapse

Instance Method Details

#after_createdObject



12
13
14
15
# File 'lib/chef/resource/vagrant_cluster.rb', line 12

def after_created
  super
  run_context.chef_metal.with_driver "vagrant:#{path}"
end

#load_prior_resource(*args) ⇒ Object

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



18
19
20
# File 'lib/chef/resource/vagrant_cluster.rb', line 18

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