Sha256: 7bfdcad424570cedc8e7294b5c766b4b407fb7451094f7a24e549cccda289fdd
Contents?: true
Size: 473 Bytes
Versions: 2
Compression:
Stored size: 473 Bytes
Contents
require 'chef/resource/lwrp_base' require 'chef_metal_vagrant' class Chef::Resource::VagrantBox < Chef::Resource::LWRPBase self.resource_name = 'vagrant_box' actions :create, :delete, :nothing default_action :create attribute :name, :kind_of => String, :name_attribute => true attribute :url, :kind_of => String attribute :provisioner_options, :kind_of => Hash def after_created super ChefMetalVagrant.with_vagrant_box run_context, self end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chef-metal-vagrant-0.3.1 | lib/chef/resource/vagrant_box.rb |
chef-metal-vagrant-0.3 | lib/chef/resource/vagrant_box.rb |