Browse Source

Merge "Fix url with NSX-T packages for NSX-T 1.0.1 version"

Jenkins 2 years ago
parent
commit
7e1de2f57a

+ 5
- 1
deployment_scripts/puppet/modules/nsxt/lib/puppet/parser/functions/get_nsxt_components.rb View File

@@ -76,7 +76,11 @@ def get_component_url(manager, username, password)
76 76
   manifest.split(/\n/).each do |str|
77 77
     if str.include? 'NSX_HOST_COMPONENT_UBUNTU_1404_TAR'
78 78
       url = str.split('=')[1]
79
-      return "http://#{manager}:8080#{url}"
79
+      if node_version.start_with?('1.0.0')
80
+        return "http://#{manager}:8080#{url}"
81
+      else
82
+        return "http://#{manager}:8080/repository/#{url}"
83
+      end
80 84
     end
81 85
   end
82 86
 end

Loading…
Cancel
Save