Sha256: a0af8add00fbb46188ba9f2c33b968a3ed9e218a00c82322a849a33832e7571c

Contents?: true

Size: 369 Bytes

Versions: 7

Compression:

Stored size: 369 Bytes

Contents

require 'chef/resource/lwrp_base'
require 'chef_metal'

class Chef::Resource::VagrantCluster < Chef::Resource::LWRPBase
  self.resource_name = 'vagrant_cluster'

  actions :create, :delete, :nothing
  default_action :create

  attribute :path, :kind_of => String, :name_attribute => true

  def after_created
    super
    ChefMetal.with_vagrant_cluster path
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chef-metal-0.5 lib/chef/resource/vagrant_cluster.rb
chef-metal-0.4 lib/chef/resource/vagrant_cluster.rb
chef-metal-0.3.1 lib/chef/resource/vagrant_cluster.rb
chef-metal-0.3 lib/chef/resource/vagrant_cluster.rb
chef-metal-0.2.1 lib/chef/resource/vagrant_cluster.rb
chef-metal-0.2 lib/chef/resource/vagrant_cluster.rb
chef-metal-0.1 lib/chef/resource/vagrant_cluster.rb