aptly mirror parametrization
PROD-15379
Change-Id: Icff58138405245e968d63539ec7b0df2a313b6fd
diff --git a/aptly/server/mirror/ubuntu/trusty/ubuntucloud.yml b/aptly/server/mirror/ubuntu/trusty/ubuntucloud.yml
index b66d34c..e8d1f54 100644
--- a/aptly/server/mirror/ubuntu/trusty/ubuntucloud.yml
+++ b/aptly/server/mirror/ubuntu/trusty/ubuntucloud.yml
@@ -1,4 +1,16 @@
parameters:
+ _param:
+ mirror_trusty-updates-liberty_source: http://ubuntu-cloud.archive.canonical.com/ubuntu/
+ mirror_trusty-updates-liberty_distribution: trusty-updates/liberty
+ mirror_trusty-updates-liberty_components: main
+ mirror_trusty-updates-liberty_gpgkeys:
+ - EC4926EA
+
+ mirror_trusty-updates-mitaka_source: http://ubuntu-cloud.archive.canonical.com/ubuntu/
+ mirror_trusty-updates-mitaka_distribution: trusty-updates/mitaka
+ mirror_trusty-updates-mitaka_components: main
+ mirror_trusty-updates-mitaka_gpgkeys:
+ - EC4926EA
aptly:
server:
mirror:
@@ -24,24 +36,25 @@
# component: kilo
# distributions:
# - trusty
+ aptly:
+ server:
+ mirror:
trusty-updates-liberty:
- source: http://ubuntu-cloud.archive.canonical.com/ubuntu/
- distribution: trusty-updates/liberty
- components: main
+ source: ${_param:mirror_trusty-updates-liberty_source}
+ distribution: ${_param:mirror_trusty-updates-liberty_distribution}
+ components: ${_param:mirror_trusty-updates-liberty_components}
architectures: amd64
- gpgkeys:
- - EC4926EA
+ gpgkeys: ${_param:mirror_trusty-updates-liberty_gpgkeys}
publisher:
component: liberty
distributions:
- ubuntu-trusty/nightly
trusty-updates-mitaka:
- source: http://ubuntu-cloud.archive.canonical.com/ubuntu/
- distribution: trusty-updates/mitaka
- components: main
+ source: ${_param:mirror_trusty-updates-mitaka_source}
+ distribution: ${_param:mirror_trusty-updates-mitaka_distribution}
+ components: ${_param:mirror_trusty-updates-mitaka_components}
architectures: amd64
- gpgkeys:
- - EC4926EA
+ gpgkeys: ${_param:mirror_trusty-updates-mitaka_gpgkeys}
publisher:
component: mitaka
distributions: