blob: 8da6aeea0eaf7203342f6152610bce865c7cfcb3 [file] [log] [blame]
Petr Michalec56e329c2017-07-03 14:32:04 +02001classes:
Petr Michalecf05e3ea2017-08-21 17:33:16 +02002#- cluster.aaa-ha-freeipa.aaa
Petr Michalecaaa5ebf2017-09-27 17:26:15 +02003
4# FIXME: Workaround linux.system.single rhel
5#- system.linux.system.single
6- cluster.aaa-ha-freeipa.aaa.linux-system-single
7
Petr Michalec56e329c2017-07-03 14:32:04 +02008- system.openssh.server.team.lab
9- system.openssh.server.team.tcpcloud
10- system.openssh.server.team.mcp_qa
11- system.openssh.server.team.mmo_devops
12parameters:
13 _param:
14 salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
15 salt_minion_ca_authority: salt_master_ca
16
17 # freeipa settings
18
19 # addresses and hostnames
20 identity_control_hostname: idm
21 identity_control_address: 172.16.10.240
22 identity_control_node01_hostname: idm01
23 identity_control_node02_hostname: idm02
24 identity_control_node03_hostname: idm03
25 identity_control_node01_address: 172.16.10.241
26 identity_control_node02_address: 172.16.10.242
27 identity_control_node03_address: 172.16.10.243
28 identity_proxy_node01_hostname: prx01
29 identity_proxy_node02_hostname: prx02
30 identity_proxy_node01_address: 172.16.10.244
31 identity_proxy_node02_address: 172.16.10.245
32
33 # cluster meta
34 cluster_vip_address: ${_param:identity_control_address}
35 cluster_local_address: ${_param:single_address}
36 cluster_node01_hostname: ${_param:identity_control_node01_hostname}
37 cluster_node01_address: ${_param:identity_control_node01_address}
38 cluster_node02_hostname: ${_param:identity_control_node02_hostname}
39 cluster_node02_address: ${_param:identity_control_node02_address}
40 cluster_node03_hostname: ${_param:identity_control_node03_hostname}
41 cluster_node03_address: ${_param:identity_control_node03_address}
42
Petr Michalec6463b432017-08-17 11:52:59 +020043 # FIXME
44 # temporarily - fix on reclass model or here
Petr Michalec56e329c2017-07-03 14:32:04 +020045 freeipa_node01_hostname: ${_param:cluster_node01_address}
46 freeipa_node02_hostname: ${_param:cluster_node02_address}
47 freeipa_node03_hostname: ${_param:cluster_node03_address}
48 freeipa_client_nsupdate_01_address: ${_param:cluster_node01_address}
Petr Michalec6463b432017-08-17 11:52:59 +020049 # temporarily - fix on reclass model or here
50 infra_freeipa_node01_hostname: ${_param:freeipa_node01_hostname}
51 infra_freeipa_node02_hostname: ${_param:freeipa_node02_hostname}
52 infra_freeipa_node03_hostname: ${_param:freeipa_node03_hostname}
53 infra_idm_node01_address: ${_param:identity_control_node01_address}
54 infra_idm_node02_address: ${_param:identity_control_node02_address}
55 infra_idm_node03_address: ${_param:identity_control_node03_address}
Petr Michalec56e329c2017-07-03 14:32:04 +020056
57 linux:
58 network:
59 resolv:
Petr Michalec4d366372017-09-18 13:54:53 +020060 domain: aaa-ha-freeipa.local
Petr Michalec56e329c2017-07-03 14:32:04 +020061 options:
62 - ndots:5
63 - timeout:2
64 - attempts:2
65 host:
66 idm:
67 address: ${_param:identity_control_address}
68 names:
69 - ${_param:identity_control_hostname}
70 - ${_param:identity_control_hostname}.${_param:cluster_domain}
71 idm01:
72 address: ${_param:identity_control_node01_address}
73 names:
74 - ${_param:identity_control_node01_hostname}
75 - ${_param:identity_control_node01_hostname}.${_param:cluster_domain}
76 idm02:
77 address: ${_param:identity_control_node02_address}
78 names:
79 - ${_param:identity_control_node02_hostname}
80 - ${_param:identity_control_node02_hostname}.${_param:cluster_domain}
81 idm03:
82 address: ${_param:identity_control_node03_address}
83 names:
84 - ${_param:identity_control_node03_hostname}
85 - ${_param:identity_control_node03_hostname}.${_param:cluster_domain}
Petr Michalec56e329c2017-07-03 14:32:04 +020086 prx01:
87 address: ${_param:identity_proxy_node01_address}
88 names:
89 - ${_param:identity_proxy_node01_hostname}
90 - ${_param:identity_proxy_node01_hostname}.${_param:cluster_domain}
Petr Michalec6463b432017-08-17 11:52:59 +020091 prx02:
92 address: ${_param:identity_proxy_node02_address}
93 names:
94 - ${_param:identity_proxy_node02_hostname}
95 - ${_param:identity_proxy_node02_hostname}.${_param:cluster_domain}
Petr Michalec56e329c2017-07-03 14:32:04 +020096 system:
97 rc:
98 local: |
99 #!/bin/sh -e
100 #
101 # rc.local
102 #
103 ######### This file is managed by Salt! ##########
104 # This script is executed at the end of each multiuser runlevel.
105 # Make sure that the script will "exit 0" on success or any other
106 # value on error.
107 #
108 ip r a 10.254.0.0/16 dev ens3
109 exit 0