Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [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 |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 5 | - system.openssh.client.lab |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 6 | - system.salt.master.pkg |
Dennis Dmitriev | 6635bfd | 2018-03-20 04:50:12 +0200 | [diff] [blame] | 7 | - system.salt.master.api |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 8 | - system.reclass.storage.salt |
| 9 | - system.salt.minion.ca.salt_master |
| 10 | - system.salt.minion.cert.proxy |
Oleh Hryhorov | a54ba47 | 2018-06-15 17:05:36 +0300 | [diff] [blame] | 11 | - system.salt.syndic.single |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 12 | - system.sphinx.server.doc.reclass |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 13 | - system.keystone.client.core |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 14 | - system.keystone.client.service.cinder |
| 15 | - system.keystone.client.service.cinder2 |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 16 | - system.keystone.client.service.cinder3 |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 17 | - system.keystone.client.service.glance |
| 18 | - system.keystone.client.service.glare |
| 19 | - system.keystone.client.service.heat |
| 20 | - system.keystone.client.service.heat-cfn |
| 21 | - system.keystone.client.service.keystone |
| 22 | - system.keystone.client.service.neutron |
| 23 | - system.keystone.client.service.nova-ec2 |
| 24 | - system.keystone.client.service.nova21 |
| 25 | - system.keystone.client.service.nova-placement |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 26 | - system.mysql.client |
| 27 | - system.mysql.client.database.cinder |
| 28 | - system.mysql.client.database.glance |
| 29 | - system.mysql.client.database.heat |
| 30 | - system.mysql.client.database.keystone |
| 31 | - system.mysql.client.database.nova |
| 32 | - system.mysql.client.database.nova_api |
| 33 | - system.mysql.client.database.neutron |
| 34 | - system.reclass.storage.system.openstack_control_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 35 | - cluster.os-ha-ovs-syndic.openstack.proxy |
| 36 | - cluster.os-ha-ovs-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 37 | parameters: |
| 38 | _param: |
| 39 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 40 | reclass_data_revision: master |
| 41 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 42 | salt_master_environment_revision: master |
| 43 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 44 | single_address: ${_param:infra_config_address} |
| 45 | salt_master_host: 127.0.0.1 |
| 46 | salt_master_base_environment: prd |
| 47 | salt_minion_ca_host: ${linux:network:fqdn} |
| 48 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 49 | linux: |
| 50 | network: |
| 51 | interface: |
| 52 | ens4: |
| 53 | enabled: true |
| 54 | type: eth |
| 55 | proto: static |
| 56 | address: ${_param:single_address} |
| 57 | netmask: 255.255.255.0 |
| 58 | nginx: |
| 59 | server: |
| 60 | site: |
| 61 | nginx_proxy_openstack_web: |
| 62 | proxy: |
| 63 | host: ${_param:openstack_control_address} |
| 64 | nginx_proxy_openstack_api_heat_cfn: |
| 65 | enabled: false |
| 66 | salt: |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 67 | master: |
| 68 | reactor: |
| 69 | reclass/minion/classify: |
| 70 | - salt://reclass/reactor/node_register.sls |
| 71 | reclass: |
| 72 | storage: |
| 73 | class_mapping: |
| 74 | common_node: |
| 75 | expression: all |
| 76 | node_param: |
| 77 | single_address: |
| 78 | value_template: <<node_control_ip>> |
| 79 | linux_system_codename: |
| 80 | value_template: <<node_os>> |
| 81 | salt_master_host: |
| 82 | value_template: <<node_master_ip>> |
| 83 | infra_config: |
Adam Tengler | 500745f | 2017-07-27 15:51:10 +0000 | [diff] [blame] | 84 | expression: |
| 85 | - <<node_hostname>>__startswith__cfg |
Oleh Hryhorov | a54ba47 | 2018-06-15 17:05:36 +0300 | [diff] [blame] | 86 | - <<node_cluster>>__equals__os-ha-ovs-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 87 | cluster_param: |
| 88 | infra_config_address: |
| 89 | value_template: <<node_control_ip>> |
| 90 | infra_config_deploy_address: |
| 91 | value_template: <<node_deploy_ip>> |
| 92 | cluster_domain: |
| 93 | value_template: <<node_domain>> |
| 94 | openstack_control01: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 95 | expression: |
| 96 | - <<node_hostname>>__equals__ctl01 |
Oleh Hryhorov | a54ba47 | 2018-06-15 17:05:36 +0300 | [diff] [blame] | 97 | - <<node_cluster>>__equals__os-ha-ovs-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 98 | cluster_param: |
| 99 | openstack_control_node01_address: |
| 100 | value_template: <<node_control_ip>> |
| 101 | openstack_control02: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 102 | expression: |
| 103 | - <<node_hostname>>__equals__ctl02 |
Oleh Hryhorov | a54ba47 | 2018-06-15 17:05:36 +0300 | [diff] [blame] | 104 | - <<node_cluster>>__equals__os-ha-ovs-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 105 | cluster_param: |
| 106 | openstack_control_node02_address: |
| 107 | value_template: <<node_control_ip>> |
| 108 | openstack_control03: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 109 | expression: |
| 110 | - <<node_hostname>>__equals__ctl03 |
Oleh Hryhorov | a54ba47 | 2018-06-15 17:05:36 +0300 | [diff] [blame] | 111 | - <<node_cluster>>__equals__os-ha-ovs-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 112 | cluster_param: |
| 113 | openstack_control_node03_address: |
| 114 | value_template: <<node_control_ip>> |
| 115 | openstack_compute: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 116 | expression: |
| 117 | - <<node_hostname>>__startswith__cmp |
Oleh Hryhorov | a54ba47 | 2018-06-15 17:05:36 +0300 | [diff] [blame] | 118 | - <<node_cluster>>__equals__os-ha-ovs-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 119 | node_class: |
| 120 | value_template: |
| 121 | - cluster.<<node_cluster>>.openstack.compute |
| 122 | node_param: |
| 123 | tenant_address: |
| 124 | value_template: <<node_tenant_ip>> |
| 125 | external_address: |
| 126 | value_template: <<node_external_ip>> |
| 127 | openstack_gateway: |
Adam Tengler | 1c3c15f | 2017-07-31 10:23:27 +0000 | [diff] [blame] | 128 | expression: |
| 129 | - <<node_hostname>>__startswith__gtw |
Oleh Hryhorov | a54ba47 | 2018-06-15 17:05:36 +0300 | [diff] [blame] | 130 | - <<node_cluster>>__equals__os-ha-ovs-syndic |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 131 | node_class: |
| 132 | value_template: |
| 133 | - cluster.<<node_cluster>>.openstack.gateway |
| 134 | node_param: |
| 135 | tenant_address: |
| 136 | value_template: <<node_tenant_ip>> |
| 137 | external_address: |
| 138 | value_template: <<node_external_ip>> |
| 139 | cluster_param: |
| 140 | openstack_gateway_node01_address: |
| 141 | value_template: <<node_control_ip>> |
| 142 | node: |
| 143 | openstack_control_node01: |
| 144 | classes: |
| 145 | - service.galera.master.cluster |
| 146 | params: |
| 147 | mysql_cluster_role: master |
| 148 | linux_system_codename: xenial |
| 149 | openstack_control_node02: |
| 150 | classes: |
| 151 | - service.galera.slave.cluster |
| 152 | params: |
| 153 | mysql_cluster_role: slave |
| 154 | linux_system_codename: xenial |
| 155 | openstack_control_node03: |
| 156 | classes: |
| 157 | - service.galera.slave.cluster |
| 158 | params: |
| 159 | mysql_cluster_role: slave |
| 160 | linux_system_codename: xenial |