lib/mixlib/install/generator/bourne.rb in mixlib-install-1.1.0 vs lib/mixlib/install/generator/bourne.rb in mixlib-install-1.2.0

- old
+ new

@@ -44,10 +44,12 @@ def install_command install_command = [] install_command << get_script("helpers.sh") install_command << render_variables install_command << get_script("platform_detection.sh") - if options.for_artifactory? + # Since omnitruck can not resolve unstable we need to inject direct + # urls for the packages here. + if options.for_unstable? install_command << artifactory_urls else install_command << get_script("fetch_metadata.sh") end install_command << get_script("fetch_package.sh")