aboutsummaryrefslogtreecommitdiffstats
path: root/patches/fuel-mirror/0001-Set-mos-ubuntu-base-URL-to-linux.enea.com.patch
blob: 9d45cda1b5d35963caea5b44727e56507c492d4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Date: Fri, 4 Mar 2016 00:51:40 +0100
Subject: [PATCH] Set mos-ubuntu base URL to linux.enea.com.

Contents of amd64 mos-ubuntu repos should be in sync with arm64.
---
 contrib/fuel_mirror/data/ubuntu.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/fuel_mirror/data/ubuntu.yaml b/contrib/fuel_mirror/data/ubuntu.yaml
index ac62455..cd86ec9 100644
--- a/contrib/fuel_mirror/data/ubuntu.yaml
+++ b/contrib/fuel_mirror/data/ubuntu.yaml
@@ -1,6 +1,6 @@
 # GLOBAL variables
 ubuntu_baseurl: &ubuntu_baseurl http://archive.ubuntu.com/ubuntu
-mos_baseurl: &mos_baseurl http://mirror.fuel-infra.org/mos-repos/ubuntu/$mos_version
+mos_baseurl: &mos_baseurl http://linux.enea.com/mos-repos/ubuntu/$mos_version

 fuel_release_match:
    version: $openstack_version
> service principals for a server' parameters: RoleData: type: json description: the list containing the 'role_data' output for the ServiceChain # Coming from parameter_defaults CloudName: default: overcloud.localdomain description: The DNS name of this cloud. E.g. ci-overcloud.tripleo.org type: string CloudNameInternal: default: overcloud.internalapi.localdomain description: > The DNS name of this cloud's internal API endpoint. E.g. 'ci-overcloud.internalapi.tripleo.org'. type: string CloudNameStorage: default: overcloud.storage.localdomain description: > The DNS name of this cloud's storage endpoint. E.g. 'ci-overcloud.storage.tripleo.org'. type: string CloudNameStorageManagement: default: overcloud.storagemgmt.localdomain description: > The DNS name of this cloud's storage management endpoint. E.g. 'ci-overcloud.storagemgmt.tripleo.org'. type: string CloudNameCtlplane: default: overcloud.ctlplane.localdomain description: > The DNS name of this cloud's storage management endpoint. E.g. 'ci-overcloud.management.tripleo.org'. type: string resources: IncomingMetadataSettings: type: OS::Heat::Value properties: value: yaql: # Filter null values and values that contain don't contain # 'metadata_settings', get the values from that key and get the # unique ones. expression: list(coalesce($.data, []).where($ != null).where($.containsKey('metadata_settings')).metadata_settings.flatten().distinct()) data: {get_param: RoleData} # Generates entries for nova metadata with the following format: # 'managed_service_<id>' : <service>/<fqdn> # Depending on the requested network IndividualServices: type: OS::Heat::Value properties: value: yaql: expression: let(fqdns => $.data.fqdns) -> dict(coalesce($.data.metadata, []).where($ != null and $.type = 'vip').select([concat('managed_service_', $.service, $.network), concat($.service, '/', $fqdns.get($.network))])) data: metadata: {get_attr: [IncomingMetadataSettings, value]} fqdns: external: {get_param: CloudName} internal_api: {get_param: CloudNameInternal} storage: {get_param: CloudNameStorage} storage_mgmt: {get_param: CloudNameStorageManagement} ctlplane: {get_param: CloudNameCtlplane} CompactServices: type: OS::Heat::Value properties: value: yaql: expression: dict(coalesce($.data, []).where($ != null and $.type = 'node').select([$.service, $.network.replace('_', '')]).groupBy($[0], $[1])) data: {get_attr: [IncomingMetadataSettings, value]} outputs: metadata: description: actual metadata entries that will be passed to the server. value: map_merge: - {get_attr: [IndividualServices, value]} - compact_services: {get_attr: [CompactServices, value]}