lib/bosh/stemcell/archive_filename.rb in bosh-stemcell-1.3169.0 vs lib/bosh/stemcell/archive_filename.rb in bosh-stemcell-1.3173.0

- old
+ new

@@ -1,5 +1,6 @@ +require 'bosh/stemcell/arch' require 'forwardable' module Bosh::Stemcell class ArchiveFilename extend Forwardable @@ -22,10 +23,15 @@ end private def name - definition.light? ? "light-#{base_name}" : base_name + mod_name = definition.light? ? "light-#{base_name}" : base_name + if Bosh::Stemcell::Arch.ppc64le? + "#{mod_name}-ppc64le" + else + mod_name + end end attr_reader( :base_name, :version,