Allow to set custom repo via overrides.yml
Update aio and ironic cluster models to allow add custom repo.
Change-Id: Ica43ace3e7e8d5f1e00a8810df6040def90d7bfb
diff --git a/classes/cluster/virtual-mcp11-aio/init.yml b/classes/cluster/virtual-mcp11-aio/init.yml
index af3fdfc..d0c5f40 100755
--- a/classes/cluster/virtual-mcp11-aio/init.yml
+++ b/classes/cluster/virtual-mcp11-aio/init.yml
@@ -43,6 +43,11 @@
enabled: true
# r00tme
password: $6$9ojWyyN.$26Vj46JtCUL6C7XBQ8RmQTZLwo8/8SkqTRElXh0X2YBLrt7E/aVe2AYQ5gguYUwUknZNOSn5q7M9M3Jyf2gof/
+ repo:
+ linux_system_repo:
+ source: ${_param:linux_system_repo}
+ architectures: amd64
+ clean_file: true
network:
bridge: openvswitch
interface:
diff --git a/classes/cluster/virtual-mcp11-aio/openstack/init.yml b/classes/cluster/virtual-mcp11-aio/openstack/init.yml
index b4f61cb..9e41834 100755
--- a/classes/cluster/virtual-mcp11-aio/openstack/init.yml
+++ b/classes/cluster/virtual-mcp11-aio/openstack/init.yml
@@ -98,6 +98,7 @@
designate_pool_target_options:
host: ${_param:single_address}
port: 53
+ linux_system_repo: 'deb [arch=amd64] http://mirror.fuel-infra.org/mcp-repos/ocata/xenial ocata main'
neutron:
server:
message_queue:
diff --git a/classes/cluster/virtual-mcp11-ovs-ironic/init.yml b/classes/cluster/virtual-mcp11-ovs-ironic/init.yml
index 23d2566..531d59a 100644
--- a/classes/cluster/virtual-mcp11-ovs-ironic/init.yml
+++ b/classes/cluster/virtual-mcp11-ovs-ironic/init.yml
@@ -44,3 +44,11 @@
openstack_baremeta_neutron_subnet_allocation_start: 192.168.90.100
openstack_baremeta_neutron_subnet_allocation_end: 192.168.90.150
openstack_baremetal_node01_hostname: bmt01
+ linux:
+ system:
+ repo:
+ linux_system_repo:
+ source: ${_param:linux_system_repo}
+ architectures: amd64
+ clean_file: true
+
diff --git a/classes/cluster/virtual-mcp11-ovs-ironic/openstack/init.yml b/classes/cluster/virtual-mcp11-ovs-ironic/openstack/init.yml
index fdc0ee5..2cc6792 100644
--- a/classes/cluster/virtual-mcp11-ovs-ironic/openstack/init.yml
+++ b/classes/cluster/virtual-mcp11-ovs-ironic/openstack/init.yml
@@ -90,6 +90,7 @@
mongodb_ceilometer_password: cloudlab
mongodb_admin_password: cloudlab
mongodb_shared_key: eoTh1AwahlahqueingeejooLughah4tei9feing0eeVaephooDi2li1TaeV1ooth
+ linux_system_repo: 'deb [arch=amd64] http://mirror.fuel-infra.org/mcp-repos/ocata/xenial ocata main'
linux:
network:
host: