blob: 9fb212447b7935a056df341835fb2d94aa5d8e74 [file] [log] [blame]
Petr Michalec56e329c2017-07-03 14:32:04 +02001classes:
2- cluster.aaa_ha_freeipa.aaa
3- system.linux.system.single
4- system.openssh.server.team.lab
5- system.openssh.server.team.tcpcloud
6- system.openssh.server.team.mcp_qa
7- system.openssh.server.team.mmo_devops
8parameters:
9 _param:
10 salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
11 salt_minion_ca_authority: salt_master_ca
12
13 # freeipa settings
14
15 # addresses and hostnames
16 identity_control_hostname: idm
17 identity_control_address: 172.16.10.240
18 identity_control_node01_hostname: idm01
19 identity_control_node02_hostname: idm02
20 identity_control_node03_hostname: idm03
21 identity_control_node01_address: 172.16.10.241
22 identity_control_node02_address: 172.16.10.242
23 identity_control_node03_address: 172.16.10.243
24 identity_proxy_node01_hostname: prx01
25 identity_proxy_node02_hostname: prx02
26 identity_proxy_node01_address: 172.16.10.244
27 identity_proxy_node02_address: 172.16.10.245
28
29 # cluster meta
30 cluster_vip_address: ${_param:identity_control_address}
31 cluster_local_address: ${_param:single_address}
32 cluster_node01_hostname: ${_param:identity_control_node01_hostname}
33 cluster_node01_address: ${_param:identity_control_node01_address}
34 cluster_node02_hostname: ${_param:identity_control_node02_hostname}
35 cluster_node02_address: ${_param:identity_control_node02_address}
36 cluster_node03_hostname: ${_param:identity_control_node03_hostname}
37 cluster_node03_address: ${_param:identity_control_node03_address}
38
39 freeipa_node01_hostname: ${_param:cluster_node01_address}
40 freeipa_node02_hostname: ${_param:cluster_node02_address}
41 freeipa_node03_hostname: ${_param:cluster_node03_address}
42 freeipa_client_nsupdate_01_address: ${_param:cluster_node01_address}
43
44
45 linux:
46 network:
47 resolv:
48 domain: virtual-aaa-freeipa.local
49 options:
50 - ndots:5
51 - timeout:2
52 - attempts:2
53 host:
54 idm:
55 address: ${_param:identity_control_address}
56 names:
57 - ${_param:identity_control_hostname}
58 - ${_param:identity_control_hostname}.${_param:cluster_domain}
59 idm01:
60 address: ${_param:identity_control_node01_address}
61 names:
62 - ${_param:identity_control_node01_hostname}
63 - ${_param:identity_control_node01_hostname}.${_param:cluster_domain}
64 idm02:
65 address: ${_param:identity_control_node02_address}
66 names:
67 - ${_param:identity_control_node02_hostname}
68 - ${_param:identity_control_node02_hostname}.${_param:cluster_domain}
69 idm03:
70 address: ${_param:identity_control_node03_address}
71 names:
72 - ${_param:identity_control_node03_hostname}
73 - ${_param:identity_control_node03_hostname}.${_param:cluster_domain}
74 cmp01:
75 address: ${_param:identity_compute_node01_address}
76 names:
77 - ${_param:identity_compute_node01_hostname}
78 - ${_param:identity_compute_node01_hostname}.${_param:cluster_domain}
79 cmp02:
80 address: ${_param:identity_compute_node02_address}
81 names:
82 - ${_param:identity_compute_node02_hostname}
83 - ${_param:identity_compute_node02_hostname}.${_param:cluster_domain}
84 prx01:
85 address: ${_param:identity_proxy_node01_address}
86 names:
87 - ${_param:identity_proxy_node01_hostname}
88 - ${_param:identity_proxy_node01_hostname}.${_param:cluster_domain}
89 system:
90 rc:
91 local: |
92 #!/bin/sh -e
93 #
94 # rc.local
95 #
96 ######### This file is managed by Salt! ##########
97 # This script is executed at the end of each multiuser runlevel.
98 # Make sure that the script will "exit 0" on success or any other
99 # value on error.
100 #
101 ip r a 10.254.0.0/16 dev ens3
102 exit 0