lib/config_builder/model/vm.rb in vagrant-config_builder-0.2.0 vs lib/config_builder/model/vm.rb in vagrant-config_builder-0.3.0

- old
+ new

@@ -64,10 +64,14 @@ # @!attribute [rw] box # @return [String] The name of the Vagrant box to instantiate for this VM def_model_attribute :box + # @!attribute [rw] box_url + # @return [String] The source URL for the Vagrant box associated with this VM + def_model_attribute :box + # @!attribute [rw] name # @return [String] The name of the instantiated box in this environment def_model_attribute :name # @!attribute [rw] hostname @@ -87,9 +91,10 @@ Proc.new do |global_config| global_config.vm.define(attr(:name)) do |config| vm_config = config.vm vm_config.box = attr(:box) if defined? attr(:box) + vm_config.box_url = attr(:box_url) if defined? attr(:box_url) vm_config.hostname = attr(:hostname) if defined? attr(:hostname) eval_models(vm_config) end end