Marek Celoud | bc64314 | 2017-04-07 15:02:38 +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 |
Petr Jediný | 90e83ef | 2017-06-28 16:33:04 +0200 | [diff] [blame] | 5 | - system.linux.system.repo.mcp.openstack |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +0200 | [diff] [blame] | 6 | - system.openssh.client.lab |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +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 |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +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ý | 90e83ef | 2017-06-28 16:33:04 +0200 | [diff] [blame] | 13 | - system.keystone.client.core |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +0200 | [diff] [blame] | 14 | - system.keystone.client.service.aodh |
| 15 | - system.keystone.client.service.ceilometer |
Mykyta Karpin | 7bdd53f | 2017-06-07 18:09:08 +0300 | [diff] [blame] | 16 | - system.keystone.client.service.designate |
Petr Jediný | 90e83ef | 2017-06-28 16:33:04 +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 |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +0200 | [diff] [blame] | 29 | - system.mysql.client.single |
| 30 | - system.reclass.storage.system.openstack_control_cluster |
| 31 | - system.reclass.storage.system.opencontrail_control_cluster |
Simon Pasquier | 6df5f84 | 2017-05-15 16:00:22 +0200 | [diff] [blame] | 32 | - system.reclass.storage.system.stacklightv2_server_cluster |
Jiri Broulik | 26104ab | 2017-08-17 16:40:33 +0200 | [diff] [blame] | 33 | - system.reclass.storage.system.openstack_compute_multi |
| 34 | - system.reclass.storage.system.openstack_dashboard_single |
| 35 | - system.reclass.storage.system.openstack_proxy_single |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +0200 | [diff] [blame] | 36 | - cluster.virtual-mcp11-contrail.openstack.proxy |
| 37 | - cluster.virtual-mcp11-contrail.stacklight.proxy |
| 38 | - cluster.virtual-mcp11-contrail |
| 39 | parameters: |
| 40 | _param: |
| 41 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab" |
| 42 | reclass_data_revision: master |
Olivier Bourdon | 5e34316 | 2017-09-05 07:52:15 +0200 | [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 |
Michal Kobus | 1067658 | 2018-03-12 11:57:32 +0100 | [diff] [blame] | 45 | single_address: 172.16.10.90 |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +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 |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +0200 | [diff] [blame] | 60 | ens4: |
| 61 | enabled: true |
| 62 | type: eth |
Petr Jediný | 9b3a0ed | 2017-04-13 15:12:09 +0200 | [diff] [blame] | 63 | proto: static |
| 64 | address: ${_param:single_address} |
| 65 | netmask: 255.255.255.0 |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +0200 | [diff] [blame] | 66 | nginx: |
| 67 | server: |
| 68 | site: |
| 69 | nginx_proxy_openstack_web: |
| 70 | proxy: |
| 71 | host: prx |
| 72 | nginx_proxy_openstack_api_heat_cfn: |
| 73 | enabled: false |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 74 | salt: |
| 75 | master: |
| 76 | reactor: |
| 77 | reclass/minion/classify: |
| 78 | - salt://reclass/reactor/node_register.sls |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +0200 | [diff] [blame] | 79 | reclass: |
| 80 | storage: |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 81 | class_mapping: |
| 82 | common_node: |
| 83 | expression: all |
| 84 | node_param: |
| 85 | single_address: |
| 86 | value_template: <<node_control_ip>> |
| 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: |
| 95 | value_template: <<node_control_ip>> |
| 96 | infra_config_deploy_address: |
| 97 | value_template: <<node_deploy_ip>> |
| 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: |
| 104 | value_template: <<node_control_ip>> |
| 105 | openstack_control02: |
| 106 | expression: <<node_hostname>>__equals__ctl02 |
| 107 | cluster_param: |
| 108 | openstack_control_node02_address: |
| 109 | value_template: <<node_control_ip>> |
| 110 | openstack_control03: |
| 111 | expression: <<node_hostname>>__equals__ctl03 |
| 112 | cluster_param: |
| 113 | openstack_control_node03_address: |
| 114 | value_template: <<node_control_ip>> |
| 115 | opencontrail_control01: |
| 116 | expression: <<node_hostname>>__equals__ntw01 |
| 117 | cluster_param: |
| 118 | opencontrail_control_node01_address: |
| 119 | value_template: <<node_control_ip>> |
| 120 | opencontrail_control02: |
| 121 | expression: <<node_hostname>>__equals__ntw02 |
| 122 | cluster_param: |
| 123 | opencontrail_control_node02_address: |
| 124 | value_template: <<node_control_ip>> |
| 125 | opencontrail_control03: |
| 126 | expression: <<node_hostname>>__equals__ntw03 |
| 127 | cluster_param: |
| 128 | opencontrail_control_node03_address: |
Michal Kobus | 1067658 | 2018-03-12 11:57:32 +0100 | [diff] [blame] | 129 | value_template: <<node_control_ip>> |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [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>> |
| 140 | stacklight_monitor_node01: |
| 141 | expression: <<node_hostname>>__equals__mon01 |
| 142 | cluster_param: |
Olivier Bourdon | 1ad864b | 2017-09-06 14:09:15 +0200 | [diff] [blame] | 143 | stacklight_monitor_node01_address: |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 144 | value_template: <<node_control_ip>> |
| 145 | stacklight_monitor_node02: |
| 146 | expression: <<node_hostname>>__equals__mon02 |
| 147 | cluster_param: |
Olivier Bourdon | 1ad864b | 2017-09-06 14:09:15 +0200 | [diff] [blame] | 148 | stacklight_monitor_node02_address: |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 149 | value_template: <<node_control_ip>> |
| 150 | stacklight_monitor_node03: |
| 151 | expression: <<node_hostname>>__equals__mon03 |
| 152 | cluster_param: |
| 153 | stacklight_monitor_node03_address: |
| 154 | value_template: <<node_control_ip>> |
| 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>> |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +0200 | [diff] [blame] | 164 | node: |
| 165 | openstack_control_node01: |
| 166 | classes: |
| 167 | - service.galera.master.cluster |
| 168 | params: |
| 169 | mysql_cluster_role: master |
| 170 | linux_system_codename: xenial |
| 171 | openstack_control_node02: |
| 172 | classes: |
| 173 | - service.galera.slave.cluster |
| 174 | params: |
| 175 | mysql_cluster_role: slave |
| 176 | linux_system_codename: xenial |
| 177 | openstack_control_node03: |
| 178 | classes: |
| 179 | - service.galera.slave.cluster |
| 180 | params: |
| 181 | mysql_cluster_role: slave |
| 182 | linux_system_codename: xenial |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 183 | stacklight_server_node01: |
Marek Celoud | bc64314 | 2017-04-07 15:02:38 +0200 | [diff] [blame] | 184 | classes: |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 185 | - system.influxdb.server.single |
| 186 | - system.influxdb.database.stacklight |
Jiri Broulik | d3a3867 | 2017-08-22 14:15:09 +0200 | [diff] [blame] | 187 | openstack_proxy_node01: |
| 188 | classes: |
| 189 | - cluster.virtual-mcp11-contrail.openstack.proxy |
Jiri Broulik | de05989 | 2017-08-22 19:05:50 +0200 | [diff] [blame] | 190 | params: |
Olivier Bourdon | 1ad864b | 2017-09-06 14:09:15 +0200 | [diff] [blame] | 191 | linux_system_codename: xenial |