blob: a36a00f34a5d2ce6bbdb4d42526b22454abee37b [file] [log] [blame]
Adam Tenglerf4298762017-07-18 14:21:38 +02001classes:
2- service.git.client
3- system.linux.system.single
4- system.linux.system.repo.mcp.salt
5- system.openssh.client.lab
6- system.salt.master.api
7- system.salt.master.pkg
8- system.reclass.storage.salt
9- system.salt.minion.ca.salt_master
10- system.salt.minion.cert.proxy
11- system.sphinx.server.doc.reclass
12#- system.reclass.storage.system.model_manager
13- cluster.model_manager
14parameters:
15 _param:
16 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
17 reclass_data_revision: master
18 salt_master_environment_repository: "https://github.com/tcpcloud"
19 salt_master_environment_revision: master
20 reclass_config_master: ${_param:infra_config_deploy_address}
21 single_address: ${_param:infra_config_address}
22 salt_master_host: 127.0.0.1
23 salt_master_base_environment: prd
24 salt_minion_ca_host: ${linux:network:fqdn}
25 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
26 linux:
27 network:
28 interface:
29 ens4:
30 enabled: true
31 type: eth
32 proto: static
33 address: ${_param:single_address}
34 netmask: 255.255.255.0
35 salt:
36 master:
37 reactor:
38 reclass/minion/classify:
39 - salt://reclass/reactor/node_register.sls
40 reclass:
41 storage:
42 class_mapping:
43 common_node:
44 expression: all
45 node_param:
46 single_address:
47 value_template: <<node_control_ip>>
48 linux_system_codename:
49 value_template: <<node_os>>
50 salt_master_host:
51 value_template: <<node_master_ip>>
52 infra_config:
53 expression: <<node_hostname>>__startswith__cfg
54 cluster_param:
55 infra_config_address:
56 value_template: <<node_control_ip>>
57 infra_config_deploy_address:
58 value_template: <<node_deploy_ip>>
59 cluster_domain:
60 value_template: <<node_domain>>
61 model_manager:
62 expression: <<node_hostname>>__startswith__web
63 node_class:
64 value_template:
65 - cluster.<<node_cluster>>.model_manager.dashboard
66