Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
Ondrej Smola | 6b5d0aa | 2017-03-22 18:15:38 +0100 | [diff] [blame] | 4 | - system.linux.system.repo.mcp.salt |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 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.aodh |
| 14 | - system.keystone.client.service.ceilometer |
| 15 | - system.keystone.client.service.nova21 |
| 16 | - system.mysql.client.single |
| 17 | - system.reclass.storage.system.openstack_control_cluster |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 18 | - system.reclass.storage.system.opencontrail_control_cluster |
Jiri Broulik | 26104ab | 2017-08-17 16:40:33 +0200 | [diff] [blame^] | 19 | - system.reclass.storage.system.openstack_compute_multi |
| 20 | - system.reclass.storage.system.openstack_dashboard_single |
| 21 | - system.reclass.storage.system.openstack_proxy_single |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 22 | - system.reclass.storage.system.stacklight_server_cluster |
| 23 | - cluster.virtual-mcp10-contrail.openstack.proxy |
| 24 | - cluster.virtual-mcp10-contrail.stacklight.proxy |
| 25 | - cluster.virtual-mcp10-contrail |
| 26 | parameters: |
| 27 | _param: |
Tomáš Kukrál | 2c7026a | 2017-03-08 18:19:53 +0100 | [diff] [blame] | 28 | 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] | 29 | reclass_data_revision: master |
| 30 | reclass_config_master: 192.168.10.100 |
| 31 | single_address: 172.16.10.100 |
| 32 | salt_master_host: 127.0.0.1 |
| 33 | salt_master_base_environment: prd |
| 34 | salt_minion_ca_host: ${linux:network:fqdn} |
| 35 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 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 | opencontrail_control01: |
| 95 | expression: <<node_hostname>>__equals__ntw01 |
| 96 | cluster_param: |
| 97 | opencontrail_control_node01_address: |
| 98 | value_template: <<node_control_ip>> |
| 99 | opencontrail_control02: |
| 100 | expression: <<node_hostname>>__equals__ntw02 |
| 101 | cluster_param: |
| 102 | opencontrail_control_node02_address: |
| 103 | value_template: <<node_control_ip>> |
| 104 | opencontrail_control03: |
| 105 | expression: <<node_hostname>>__equals__ntw03 |
| 106 | cluster_param: |
| 107 | opencontrail_control_node03_address: |
| 108 | value_template: <<node_control_ip>> |
| 109 | openstack_compute: |
| 110 | expression: <<node_hostname>>__startswith__cmp |
| 111 | node_class: |
| 112 | value_template: |
| 113 | - cluster.<<node_cluster>>.openstack.compute |
| 114 | node_param: |
| 115 | tenant_address: |
| 116 | value_template: <<node_tenant_ip>> |
| 117 | external_address: |
| 118 | value_template: <<node_external_ip>> |
| 119 | stacklight_monitor_node01: |
| 120 | expression: <<node_hostname>>__equals__mon01 |
| 121 | cluster_param: |
| 122 | stacklight_monitor_node03_address: |
| 123 | value_template: <<node_control_ip>> |
| 124 | stacklight_monitor_node02: |
| 125 | expression: <<node_hostname>>__equals__mon02 |
| 126 | cluster_param: |
| 127 | stacklight_monitor_node03_address: |
| 128 | value_template: <<node_control_ip>> |
| 129 | stacklight_monitor_node03: |
| 130 | expression: <<node_hostname>>__equals__mon03 |
| 131 | cluster_param: |
| 132 | stacklight_monitor_node03_address: |
| 133 | value_template: <<node_control_ip>> |
| 134 | openstack_dashboard: |
| 135 | expression: <<node_hostname>>__startswith__prx |
| 136 | node_class: |
| 137 | value_template: |
| 138 | - cluster.<<node_cluster>>.openstack.dashboard |
| 139 | - cluster.<<node_cluster>>.openstack.proxy |
| 140 | cluster_param: |
| 141 | openstack_proxy_node01_address: |
| 142 | value_template: <<node_control_ip>> |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 143 | node: |
| 144 | openstack_control_node01: |
| 145 | classes: |
| 146 | - service.galera.master.cluster |
| 147 | params: |
| 148 | mysql_cluster_role: master |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 149 | linux_system_codename: xenial |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 150 | openstack_control_node02: |
| 151 | classes: |
| 152 | - service.galera.slave.cluster |
| 153 | params: |
| 154 | mysql_cluster_role: slave |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 155 | linux_system_codename: xenial |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 156 | openstack_control_node03: |
| 157 | classes: |
| 158 | - service.galera.slave.cluster |
| 159 | params: |
| 160 | mysql_cluster_role: slave |
Jiri Broulik | 432ae9c | 2017-08-17 10:24:23 +0200 | [diff] [blame] | 161 | linux_system_codename: xenial |
Jeepyb User | dd14e0b | 2017-02-28 15:19:32 +0000 | [diff] [blame] | 162 | stacklight_server_node01: |
| 163 | classes: |
| 164 | - system.influxdb.server.single |
| 165 | - system.influxdb.database.stacklight |