SUSE: Add ability to configure external mirror for openSUSE
Allow deployers to choose a specific mirror for the OBS packages by setting the 'galera_client_opensuse_mirror_obs_url' variable Change-Id: I51e78cfc3dc2b84141e8a19f31bfc36a81113ab3
This commit is contained in:
parent
83a34e0ca9
commit
9774f0c068
|
@ -57,3 +57,6 @@ galera_ssl_ca_cert: /etc/ssl/certs/galera-ca.pem
|
|||
# The path to Galera CA certificate file on the deployment host
|
||||
galera_user_ssl_ca_cert: /etc/openstack_deploy/self_signed_certs/galera-ca.pem
|
||||
|
||||
## Set default mirror for openSUSE repositories
|
||||
# NOTE(hwoarang): Ensure that the full path to the 'opensuse' directory is used.
|
||||
#galera_client_opensuse_mirror_obs_url: "http://widehat.opensuse.org"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
Deployers can set ``galera_client_opensuse_mirror_obs_url`` to use their
|
||||
preferred mirror for the galera server OBS packages. The full list of
|
||||
mirrors and their capabilities can be obtained at http://mirrors.opensuse.org/
|
|
@ -13,7 +13,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
_galera_client_repo_url: "http://download.opensuse.org/repositories/server:/database/openSUSE_Leap_{{ ansible_distribution_version }}"
|
||||
_galera_client_repo_url: "{{ galera_client_opensuse_mirror_obs_url | default('http://download.opensuse.org') }}/repositories/server:/database/openSUSE_Leap_{{ ansible_distribution_version }}"
|
||||
_galera_client_repo:
|
||||
- name: "OBS:server_database"
|
||||
uri: "{{ galera_client_repo_url }}"
|
||||
|
|
Loading…
Reference in New Issue