lib/mixlib/install/util.rb in mixlib-install-3.0.0 vs lib/mixlib/install/util.rb in mixlib-install-3.1.0
- old
+ new
@@ -128,16 +128,16 @@
user_agents << headers
# Ensure that if the default user agent is aleady set it doesn't get duplicated
user_agents.flatten.compact.uniq.join(" ")
end
- def map_windows_desktop_version(version)
+ def map_windows_version(version)
# This logic does not try to compare and determine proper versions based on conditions or ranges.
# These are here to improve UX for desktop versions.
case version
when /^10/
"2016"
- when /^6.3/, /^8.1/
+ when /^6.3/, /^8.1/, /2016nano/
"2012r2"
when /^6.2/, /^8/
"2012"
when /^6.1/, /^7/
"2008r2"