lib/oscar/environment.rb in oscar-0.2.0alpha3 vs lib/oscar/environment.rb in oscar-0.2.0alpha4

- old
+ new

@@ -19,10 +19,17 @@ @networking.register(node) @nodes << node end + pe_build_options = @config.data["provisioners"].find do |hash| + hash["name"] == "pe_build" + end + Vagrant::Config.run do |config| + config.pe_build.download_root = pe_build_options["options"]["download_root"] + config.pe_build.version = pe_build_options["options"]["version"] + config.pe_build.filename = pe_build_options["options"]["filename"] @nodes.each { |node| node.define(config) } end end end