lib/mixlib/install/generator/base.rb in mixlib-install-2.1.0 vs lib/mixlib/install/generator/base.rb in mixlib-install-2.1.1

- old
+ new

@@ -44,10 +44,10 @@ # If there is an erb template we render it, otherwise we just read # and returnt the contents of the script if File.exist? "#{script_path}.erb" # Default values to use incase they are not set in the context - context[:base_url] ||= "https://omnitruck.chef.io/" + context[:base_url] ||= "https://omnitruck.chef.io" context_object = OpenStruct.new(context).instance_eval { binding } ERB.new(File.read("#{script_path}.erb")).result(context_object) else File.read(script_path)