lib/mixlib/install/generator/bourne.rb in mixlib-install-1.2.4 vs lib/mixlib/install/generator/bourne.rb in mixlib-install-2.0.0

- old
+ new

@@ -14,11 +14,10 @@ # See the License for the specific language governing permissions and # limitations under the License. # require "mixlib/install/generator/base" -require "mixlib/install/backend/artifactory" module Mixlib class Install class Generator class Bourne < Base @@ -44,17 +43,11 @@ def install_command install_command = [] install_command << get_script("helpers.sh") install_command << render_variables install_command << get_script("platform_detection.sh") - # 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_metadata.sh") install_command << get_script("fetch_package.sh") install_command << get_script("install_package.sh") install_command.join("\n\n") end @@ -63,14 +56,9 @@ <<EOS project=#{options.product_name} version=#{options.product_version} channel=#{options.channel} EOS - end - - def artifactory_urls - artifacts = Mixlib::Install::Backend::Artifactory.new(options).info - get_script("artifactory_urls.sh", artifacts: artifacts) end end end end end