tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/scripts
Emilien Macchi 0333ff9e62 RHSM: when using proxy, test its connectivity first
When using RHSM with a proxy, we want to make sure the proxy can be
reached. This patch verify that a tcp socket can be open from the client
to the proxy.

This patch also does a bit of refactoring:
- --retry-delay 10 --max-time 30 is now used in a parameter everytime we
  use curl.
- proxy options are now used everytime curl is used, even for detecting
  which version of Satellite is running, now we use proxy options.

Co-Authored-By: Vincent S. Cojot <vincent@cojot.name>
Change-Id: I4dcac1528c10f698338383445e27c8a613f9bcd9
Closes-Bug: #1724970
(cherry picked from commit f4e46f4b3d)
2017-11-02 21:48:24 +00:00
..
rhel-registration RHSM: when using proxy, test its connectivity first 2017-11-02 21:48:24 +00:00
rhel-unregistration Add Satellite 5 support 2016-02-29 14:23:36 -05:00