ddcd0a039e196f4a086caa8864edb3901f3a1a31
[fuel.git] / mcp / config / scenario / defaults.yaml.j2
1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 {%- import 'net_map.j2' as nm with context %}
9 ---
10 x86_64:
11   base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
12   default:
13     vcpus: 4
14     ram: 8192
15     cluster: &arch_default_cluster_states
16       states:
17         - virtual_init
18 {%- if nm.cluster.has_baremetal_nodes %}
19         - maas
20         - baremetal_init
21 {%- if conf.MCP_VCP %}
22         - virtual_control_plane
23 {%- endif %}
24 {%- endif %}
25   common:
26     apt:
27       keys:
28         - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
29       repos:
30         # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
31         - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
32     pkg:
33       install:
34         - linux-generic-hwe-16.04
35         - salt-minion
36   control:
37     apt: ~
38     pkg:
39       install:
40         - cloud-init
41 aarch64:
42   base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
43   default:
44     vcpus: 6
45     ram: 4096
46     cluster: *arch_default_cluster_states
47   common:
48     apt:
49       keys:
50         - https://linux.enea.com/mcp-repos/rocky/xenial/archive-mcprocky.key
51         - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
52       repos:
53         # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
54         - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
55         - armband_3 1201 deb [arch=arm64] http://linux.enea.com/mcp-repos/rocky/xenial rocky-armband main
56     pkg:
57       install:
58 {%- if '-iec-' in conf.MCP_DEPLOY_SCENARIO %}
59         - linux-generic-hwe-16.04
60 {%- endif %}
61         - python-futures
62         - salt-minion
63   control:
64     apt: ~
65     pkg:
66       install:
67         - cloud-init