Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
Martin Polreich | a0addcc | 2018-06-25 11:32:52 +0200 | [diff] [blame^] | 4 | - system.linux.system.repo.mcp.apt_mirantis.saltstack |
Richard Felkl | b352e4f | 2017-08-25 13:33:42 +0200 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.openstack |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 6 | - system.openssh.client.lab |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 7 | - system.salt.master.pkg |
Dennis Dmitriev | 6635bfd | 2018-03-20 04:50:12 +0200 | [diff] [blame] | 8 | - system.salt.master.api |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 9 | - system.reclass.storage.salt |
| 10 | - system.salt.minion.ca.salt_master |
| 11 | - system.salt.minion.cert.proxy |
| 12 | - system.sphinx.server.doc.reclass |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 13 | - system.keystone.client.core |
| 14 | - system.keystone.client.service.aodh |
| 15 | - system.keystone.client.service.ceilometer |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 16 | - system.keystone.client.service.designate |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 17 | - system.keystone.client.service.cinder |
| 18 | - system.keystone.client.service.cinder2 |
| 19 | - system.keystone.client.service.cinder3 |
| 20 | - system.keystone.client.service.glance |
| 21 | - system.keystone.client.service.glare |
| 22 | - system.keystone.client.service.heat |
| 23 | - system.keystone.client.service.heat-cfn |
| 24 | - system.keystone.client.service.keystone |
| 25 | - system.keystone.client.service.neutron |
| 26 | - system.keystone.client.service.nova-ec2 |
| 27 | - system.keystone.client.service.nova21 |
| 28 | - system.keystone.client.service.nova-placement |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 29 | - system.mysql.client.single |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 30 | - system.reclass.storage.system.openstack_control_cluster |
| 31 | - system.reclass.storage.system.opencontrail_control_cluster |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 32 | - system.reclass.storage.system.stacklightv2_server_cluster |
| 33 | - system.reclass.storage.system.openstack_compute_multi |
| 34 | - system.reclass.storage.system.openstack_dashboard_single |
| 35 | - system.reclass.storage.system.openstack_proxy_single |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 36 | - cluster.sl-os-contrail.openstack.proxy |
| 37 | - cluster.sl-os-contrail.stacklight.proxy |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 38 | - cluster.sl-os-contrail |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 39 | parameters: |
| 40 | _param: |
| 41 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab" |
| 42 | reclass_data_revision: master |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 43 | reclass_config_master: 192.168.10.90 |
Michal Kobus | aab8a40 | 2018-03-21 18:55:36 +0100 | [diff] [blame] | 44 | reclass_config_master_gateway: 192.168.10.1 |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 45 | single_address: 172.16.10.90 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 46 | salt_master_host: 127.0.0.1 |
| 47 | salt_master_base_environment: prd |
| 48 | salt_minion_ca_host: ${linux:network:fqdn} |
| 49 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 50 | linux: |
| 51 | network: |
| 52 | interface: |
Michal Kobus | aab8a40 | 2018-03-21 18:55:36 +0100 | [diff] [blame] | 53 | ens3: |
| 54 | enabled: true |
| 55 | type: eth |
| 56 | proto: static |
| 57 | address: ${_param:reclass_config_master} |
| 58 | gateway: ${_param:reclass_config_master_gateway} |
| 59 | netmask: 255.255.255.0 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 60 | ens4: |
| 61 | enabled: true |
| 62 | type: eth |
| 63 | proto: static |
| 64 | address: ${_param:single_address} |
| 65 | netmask: 255.255.255.0 |
| 66 | nginx: |
| 67 | server: |
| 68 | site: |
| 69 | nginx_proxy_openstack_web: |
| 70 | proxy: |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 71 | host: prx |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 72 | nginx_proxy_openstack_api_heat_cfn: |
| 73 | enabled: false |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 74 | salt: |
| 75 | master: |
| 76 | reactor: |
| 77 | reclass/minion/classify: |
| 78 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 79 | reclass: |
| 80 | storage: |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 81 | class_mapping: |
| 82 | common_node: |
| 83 | expression: all |
| 84 | node_param: |
| 85 | single_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 86 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 87 | linux_system_codename: |
| 88 | value_template: <<node_os>> |
| 89 | salt_master_host: |
| 90 | value_template: <<node_master_ip>> |
| 91 | infra_config: |
| 92 | expression: <<node_hostname>>__startswith__cfg |
| 93 | cluster_param: |
| 94 | infra_config_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 95 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 96 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 97 | value_template: <<node_deploy_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 98 | cluster_domain: |
| 99 | value_template: <<node_domain>> |
| 100 | openstack_control01: |
| 101 | expression: <<node_hostname>>__equals__ctl01 |
| 102 | cluster_param: |
| 103 | openstack_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 104 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 105 | openstack_control02: |
| 106 | expression: <<node_hostname>>__equals__ctl02 |
| 107 | cluster_param: |
| 108 | openstack_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 109 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 110 | openstack_control03: |
| 111 | expression: <<node_hostname>>__equals__ctl03 |
| 112 | cluster_param: |
| 113 | openstack_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 114 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 115 | opencontrail_control01: |
| 116 | expression: <<node_hostname>>__equals__ntw01 |
| 117 | cluster_param: |
| 118 | opencontrail_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 119 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 120 | opencontrail_control02: |
| 121 | expression: <<node_hostname>>__equals__ntw02 |
| 122 | cluster_param: |
| 123 | opencontrail_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 124 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 125 | opencontrail_control03: |
| 126 | expression: <<node_hostname>>__equals__ntw03 |
| 127 | cluster_param: |
| 128 | opencontrail_control_node03_address: |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 129 | value_template: <<node_control_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 130 | openstack_compute: |
| 131 | expression: <<node_hostname>>__startswith__cmp |
| 132 | node_class: |
| 133 | value_template: |
| 134 | - cluster.<<node_cluster>>.openstack.compute |
| 135 | node_param: |
| 136 | tenant_address: |
| 137 | value_template: <<node_tenant_ip>> |
| 138 | external_address: |
| 139 | value_template: <<node_external_ip>> |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 140 | stacklight_monitor_node01: |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 141 | expression: <<node_hostname>>__equals__mon01 |
| 142 | cluster_param: |
Adam Tengler | c9c1c7c | 2017-07-13 13:37:51 +0000 | [diff] [blame] | 143 | stacklight_monitor_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 144 | value_template: <<node_control_ip>> |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 145 | stacklight_monitor_node02: |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 146 | expression: <<node_hostname>>__equals__mon02 |
| 147 | cluster_param: |
Adam Tengler | c9c1c7c | 2017-07-13 13:37:51 +0000 | [diff] [blame] | 148 | stacklight_monitor_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 149 | value_template: <<node_control_ip>> |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 150 | stacklight_monitor_node03: |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 151 | expression: <<node_hostname>>__equals__mon03 |
| 152 | cluster_param: |
Adam Tengler | c9c1c7c | 2017-07-13 13:37:51 +0000 | [diff] [blame] | 153 | stacklight_monitor_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 154 | value_template: <<node_control_ip>> |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 155 | openstack_dashboard: |
| 156 | expression: <<node_hostname>>__startswith__prx |
| 157 | node_class: |
| 158 | value_template: |
| 159 | - cluster.<<node_cluster>>.openstack.dashboard |
| 160 | - cluster.<<node_cluster>>.openstack.proxy |
| 161 | cluster_param: |
| 162 | openstack_proxy_node01_address: |
| 163 | value_template: <<node_control_ip>> |
Richard Felkl | 2b78d8c | 2017-08-24 11:36:40 +0200 | [diff] [blame] | 164 | node: |
Richard Felkl | 2b78d8c | 2017-08-24 11:36:40 +0200 | [diff] [blame] | 165 | openstack_control_node01: |
| 166 | classes: |
| 167 | - service.galera.master.cluster |
| 168 | params: |
Richard Felkl | 2b78d8c | 2017-08-24 11:36:40 +0200 | [diff] [blame] | 169 | mysql_cluster_role: master |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 170 | linux_system_codename: xenial |
Richard Felkl | 2b78d8c | 2017-08-24 11:36:40 +0200 | [diff] [blame] | 171 | openstack_control_node02: |
| 172 | classes: |
| 173 | - service.galera.slave.cluster |
| 174 | params: |
Richard Felkl | 2b78d8c | 2017-08-24 11:36:40 +0200 | [diff] [blame] | 175 | mysql_cluster_role: slave |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 176 | linux_system_codename: xenial |
Richard Felkl | 2b78d8c | 2017-08-24 11:36:40 +0200 | [diff] [blame] | 177 | openstack_control_node03: |
| 178 | classes: |
| 179 | - service.galera.slave.cluster |
| 180 | params: |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 181 | mysql_cluster_role: slave |
Dmitry Kalashnik | 35c932b | 2018-03-19 15:26:09 +0400 | [diff] [blame] | 182 | linux_system_codename: xenial |
| 183 | stacklight_server_node01: |
| 184 | classes: |
| 185 | - system.influxdb.server.single |
| 186 | - system.influxdb.database.stacklight |
| 187 | openstack_proxy_node01: |
| 188 | classes: |
| 189 | - cluster.sl-os-contrail.openstack.proxy |
| 190 | params: |
| 191 | linux_system_codename: xenial |