blob: e17fd5c56b884a6653901d4c2f93eef6e8d9a318 [file] [log] [blame]
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +02001classes:
2- system.linux.network.dynamic_hosts
3- service.git.client
4- system.linux.system.single
5- system.linux.system.repo.mcp.salt
6- system.openssh.client.lab
7- system.salt.master.api
8- system.salt.master.pkg
9- system.salt.minion.ca.salt_master
10- system.salt.minion.cert.proxy
11- system.reclass.storage.salt
12- system.mysql.client
13- system.memcached.server.single
14- system.rabbitmq.server.single
15- cluster.virtual-mcp11-aio.infra
16- cluster.virtual-mcp11-aio.openstack
17- cluster.overrides
18parameters:
19 _param:
20 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-aio
21 reclass_data_revision: master
22 salt_master_environment_repository: "https://github.com/tcpcloud"
23 salt_master_environment_revision: master
24 reclass_config_master: 192.168.10.90
25 single_address: 172.16.10.90
26 infra_config_address: ${_param:single_address}
27 cluster_domain: virtual-mcp11-aio.local
28 cluster_name: virtual-mcp11-aio
29 infra_config_hostname: cfg01
30
31 mysql_admin_user: root
32 mysql_admin_password: workshop
33 mysql_cluster_role: master
34 rabbitmq_secret_key: workshop
35 rabbitmq_admin_password: workshop
36 loopback_device_size: 20
37 salt_master_host: 192.168.10.90
38 salt_master_base_environment: prd
39 salt_minion_ca_host: ${linux:network:fqdn}
40 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
41 openssh:
42 server:
43 password_auth: true
44 permit_root_login: true
45 linux:
46 system:
47 user:
48 root:
49 enabled: true
50 # r00tme
51 password: $6$9ojWyyN.$26Vj46JtCUL6C7XBQ8RmQTZLwo8/8SkqTRElXh0X2YBLrt7E/aVe2AYQ5gguYUwUknZNOSn5q7M9M3Jyf2gof/
52 repo:
53 linux_system_repo:
54 source: ${_param:linux_system_repo}
55 architectures: amd64
56 clean_file: true
57 pin:
58 - pin: ${_param:linux_system_repo_pin}
59 priority: ${_param:linux_system_repo_priority}
60 package: '*'
61 network:
62 bridge: openvswitch
63 interface:
64 br-floating:
65 enabled: true
66 type: ovs_bridge
67 phy-public:
68 enabled: true
69 type: ovs_port
70 bridge: br-floating
71 proto: static
72 address: ${_param:openstack_public_neutron_subnet_gateway}
73 netmask: 255.255.255.0
Oleh Hryhorov0dfead82018-01-24 16:04:28 +020074 ens4:
75 enabled: true
76 type: eth
77 proto: static
78 address: ${_param:single_address}
79 netmask: 255.255.255.0
80 ens3:
81 enabled: true
82 type: eth
83 proto: dhcp
Oleg Iurchenkobddb82a2017-11-21 11:42:45 +020084# override on this level
85 nova:
86 compute:
87 cache:
88 members:
89 - host: ${_param:single_address}
90 port: 11211
91 cinder:
92 volume:
93 cache:
94 members:
95 - host: ${_param:single_address}
96 port: 11211
97 galera:
98 master:
99 members:
100 - host: ${_param:single_address}
101 port: 4567
102 neutron:
103 server:
104 message_queue:
105 members:
106 - host: ${_param:single_address}