3ea639bc39579662f1b931cc09629bfbf0667d4f
[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     disks: 100G  # ';'-separated list of disk drives to create
14     vcpus: 4
15     ram: 8192
16     cluster: &arch_default_cluster_states
17       states:
18         - virtual_init
19 {%- if nm.cluster.has_baremetal_nodes %}
20         - maas
21         - baremetal_init
22 {%- if conf.MCP_VCP %}
23         - virtual_control_plane
24 {%- endif %}
25 {%- endif %}
26   common:
27     apt:
28       keys:
29         - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
30       repos:
31         # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
32         - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
33     pkg:
34       install:
35         - linux-generic-hwe-16.04
36         - salt-minion
37   control:
38     apt: ~
39     pkg:
40       install:
41         - cloud-init
42 aarch64:
43   base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
44   default:
45     disks: 100G  # ';'-separated list of disk drives to create
46     vcpus: 6
47     ram: 4096
48     cluster: *arch_default_cluster_states
49   common:
50     apt:
51       keys:
52         - https://linux.enea.com/mcp-repos/rocky/xenial/archive-mcprocky.key
53         - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
54       repos:
55         # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
56         - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
57         - armband_3 1201 deb [arch=arm64] http://linux.enea.com/mcp-repos/rocky/xenial rocky-armband main
58     pkg:
59       install:
60 {%- if '-iec-' in conf.MCP_DEPLOY_SCENARIO %}
61         - linux-generic-hwe-16.04
62 {%- endif %}
63         - python-futures
64         - salt-minion
65   control:
66     apt: ~
67     pkg:
68       install:
69         - cloud-init