Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
| 4 | - system.linux.system.repo.tcp_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.keystone.client.single |
| 13 | - system.keystone.client.service.ceilometer |
| 14 | - system.keystone.client.service.nova21 |
| 15 | - system.mysql.client.single |
| 16 | - system.reclass.storage.system.openstack_control_cluster |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 17 | - system.reclass.storage.system.stacklight_server_cluster |
Jiri Broulik | 26104ab | 2017-08-17 16:40:33 +0200 | [diff] [blame] | 18 | - system.reclass.storage.system.openstack_compute_multi |
| 19 | - system.reclass.storage.system.openstack_gateway_single |
| 20 | - system.reclass.storage.system.openstack_dashboard_single |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 21 | - cluster.virtual-mcp05-dvr.openstack.proxy |
| 22 | - cluster.virtual-mcp05-dvr.stacklight.proxy |
| 23 | - cluster.virtual-mcp05-dvr |
| 24 | parameters: |
| 25 | _param: |
Tomáš Kukrál | 2c7026a | 2017-03-08 18:19:53 +0100 | [diff] [blame] | 26 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 27 | reclass_data_revision: master |
| 28 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 29 | salt_master_environment_revision: master |
| 30 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 31 | reclass_config_master: 192.168.10.100 |
| 32 | single_address: 172.16.10.100 |
| 33 | salt_master_host: 127.0.0.1 |
| 34 | salt_master_base_environment: prd |
| 35 | salt_minion_ca_host: ${linux:network:fqdn} |
| 36 | linux: |
| 37 | network: |
| 38 | interface: |
| 39 | ens4: |
| 40 | enabled: true |
| 41 | type: eth |
Petr Jediný | 9b3a0ed | 2017-04-13 15:12:09 +0200 | [diff] [blame] | 42 | proto: static |
| 43 | address: ${_param:single_address} |
| 44 | netmask: 255.255.255.0 |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 45 | nginx: |
| 46 | server: |
| 47 | site: |
| 48 | nginx_proxy_openstack_web: |
| 49 | proxy: |
| 50 | host: prx |
| 51 | nginx_proxy_openstack_api_heat_cfn: |
| 52 | enabled: false |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 53 | salt: |
| 54 | master: |
| 55 | reactor: |
| 56 | reclass/minion/classify: |
| 57 | - salt://reclass/reactor/node_register.sls |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 58 | reclass: |
| 59 | storage: |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 60 | class_mapping: |
| 61 | common_node: |
| 62 | expression: all |
| 63 | node_param: |
| 64 | single_address: |
| 65 | value_template: <<node_control_ip>> |
| 66 | linux_system_codename: |
| 67 | value_template: <<node_os>> |
| 68 | salt_master_host: |
| 69 | value_template: <<node_master_ip>> |
| 70 | infra_config: |
| 71 | expression: <<node_hostname>>__startswith__cfg |
| 72 | cluster_param: |
| 73 | infra_config_address: |
| 74 | value_template: <<node_control_ip>> |
| 75 | infra_config_deploy_address: |
| 76 | value_template: <<node_deploy_ip>> |
| 77 | cluster_domain: |
| 78 | value_template: <<node_domain>> |
| 79 | openstack_control01: |
| 80 | expression: <<node_hostname>>__equals__ctl01 |
| 81 | cluster_param: |
| 82 | openstack_control_node01_address: |
| 83 | value_template: <<node_control_ip>> |
| 84 | openstack_control02: |
| 85 | expression: <<node_hostname>>__equals__ctl02 |
| 86 | cluster_param: |
| 87 | openstack_control_node02_address: |
| 88 | value_template: <<node_control_ip>> |
| 89 | openstack_control03: |
| 90 | expression: <<node_hostname>>__equals__ctl03 |
| 91 | cluster_param: |
| 92 | openstack_control_node03_address: |
| 93 | value_template: <<node_control_ip>> |
| 94 | openstack_compute: |
| 95 | expression: <<node_hostname>>__startswith__cmp |
| 96 | node_class: |
| 97 | value_template: |
| 98 | - cluster.<<node_cluster>>.openstack.compute |
| 99 | node_param: |
| 100 | tenant_address: |
| 101 | value_template: <<node_tenant_ip>> |
| 102 | external_address: |
| 103 | value_template: <<node_external_ip>> |
| 104 | openstack_gateway: |
| 105 | expression: <<node_hostname>>__startswith__gtw |
| 106 | node_class: |
| 107 | value_template: |
| 108 | - cluster.<<node_cluster>>.openstack.gateway |
| 109 | node_param: |
| 110 | tenant_address: |
| 111 | value_template: <<node_tenant_ip>> |
| 112 | external_address: |
| 113 | value_template: <<node_external_ip>> |
| 114 | cluster_param: |
| 115 | openstack_gateway_node01_address: |
| 116 | value_template: <<node_control_ip>> |
| 117 | stacklight_monitor_node01: |
| 118 | expression: <<node_hostname>>__equals__mon01 |
| 119 | cluster_param: |
| 120 | stacklight_monitor_node03_address: |
| 121 | value_template: <<node_control_ip>> |
| 122 | stacklight_monitor_node02: |
| 123 | expression: <<node_hostname>>__equals__mon02 |
| 124 | cluster_param: |
| 125 | stacklight_monitor_node03_address: |
| 126 | value_template: <<node_control_ip>> |
| 127 | stacklight_monitor_node03: |
| 128 | expression: <<node_hostname>>__equals__mon03 |
| 129 | cluster_param: |
| 130 | stacklight_monitor_node03_address: |
| 131 | value_template: <<node_control_ip>> |
| 132 | openstack_dashboard: |
| 133 | expression: <<node_hostname>>__startswith__prx |
| 134 | node_class: |
| 135 | value_template: |
| 136 | - cluster.<<node_cluster>>.openstack.dashboard |
| 137 | - cluster.<<node_cluster>>.openstack.proxy |
| 138 | cluster_param: |
| 139 | openstack_proxy_node01_address: |
| 140 | value_template: <<node_control_ip>> |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 141 | node: |
| 142 | openstack_control_node01: |
| 143 | classes: |
| 144 | - service.galera.master.cluster |
| 145 | params: |
| 146 | mysql_cluster_role: master |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 147 | linux_system_codename: xenial |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 148 | openstack_control_node02: |
| 149 | classes: |
| 150 | - service.galera.slave.cluster |
| 151 | params: |
| 152 | mysql_cluster_role: slave |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 153 | linux_system_codename: xenial |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 154 | openstack_control_node03: |
| 155 | classes: |
| 156 | - service.galera.slave.cluster |
| 157 | params: |
| 158 | mysql_cluster_role: slave |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 159 | linux_system_codename: xenial |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 160 | stacklight_server_node01: |
| 161 | classes: |
| 162 | - system.influxdb.server.single |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 163 | - system.influxdb.database.stacklight |
Jiri Broulik | bf0a8af | 2017-08-22 13:38:47 +0200 | [diff] [blame] | 164 | openstack_compute_node01: |
| 165 | params: |
| 166 | single_address: 172.16.10.105 |
| 167 | tenant_address: 10.1.0.105 |
| 168 | external_address: 10.16.0.105 |
| 169 | openstack_compute_node02: |
| 170 | params: |
| 171 | single_address: 172.16.10.106 |
| 172 | tenant_address: 10.1.0.106 |
Jiri Broulik | d3a3867 | 2017-08-22 14:15:09 +0200 | [diff] [blame^] | 173 | external_address: 10.16.0.106 |
| 174 | openstack_gateway_node01: |
| 175 | params: |
| 176 | tenant_address: 10.1.0.110 |
| 177 | external_address: 10.16.0.110 |