Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - system.linux.system.single |
| 4 | - system.linux.system.repo.mcp.salt |
Jan Cach | 4446e41 | 2017-09-21 11:30:54 +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 |
| 7 | - system.salt.master.api |
| 8 | - system.salt.master.pkg |
| 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 |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 14 | - system.keystone.client.service.designate |
| 15 | - system.keystone.client.service.cinder |
| 16 | - system.keystone.client.service.cinder2 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 17 | - system.keystone.client.service.cinder3 |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 18 | - system.keystone.client.service.glance |
| 19 | - system.keystone.client.service.glare |
| 20 | - system.keystone.client.service.heat |
| 21 | - system.keystone.client.service.heat-cfn |
| 22 | - system.keystone.client.service.keystone |
| 23 | - system.keystone.client.service.neutron |
| 24 | - system.keystone.client.service.nova-ec2 |
| 25 | - system.keystone.client.service.nova21 |
| 26 | - system.keystone.client.service.nova-placement |
Adam Tengler | 2b36a76 | 2017-07-13 14:34:47 +0000 | [diff] [blame] | 27 | - system.mysql.client |
| 28 | - system.mysql.client.database.cinder |
| 29 | - system.mysql.client.database.glance |
| 30 | - system.mysql.client.database.heat |
| 31 | - system.mysql.client.database.keystone |
| 32 | - system.mysql.client.database.nova |
| 33 | - system.mysql.client.database.nova_api |
| 34 | - system.mysql.client.database.neutron |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 35 | - system.reclass.storage.system.openstack_control_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 36 | - cluster.os-ha-ovs.openstack.proxy |
| 37 | - cluster.os-ha-ovs |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 38 | parameters: |
| 39 | _param: |
| 40 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 41 | reclass_data_revision: master |
| 42 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 43 | salt_master_environment_revision: master |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 44 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 45 | single_address: ${_param:infra_config_address} |
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: |
| 53 | ens4: |
| 54 | enabled: true |
| 55 | type: eth |
| 56 | proto: static |
| 57 | address: ${_param:single_address} |
| 58 | netmask: 255.255.255.0 |
| 59 | nginx: |
| 60 | server: |
| 61 | site: |
| 62 | nginx_proxy_openstack_web: |
| 63 | proxy: |
Jan Cach | 4446e41 | 2017-09-21 11:30:54 +0200 | [diff] [blame^] | 64 | host: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 65 | nginx_proxy_openstack_api_heat_cfn: |
| 66 | enabled: false |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 67 | salt: |
| 68 | master: |
| 69 | reactor: |
| 70 | reclass/minion/classify: |
| 71 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 72 | reclass: |
| 73 | storage: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 74 | class_mapping: |
| 75 | common_node: |
| 76 | expression: all |
| 77 | node_param: |
| 78 | single_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 79 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 80 | linux_system_codename: |
| 81 | value_template: <<node_os>> |
| 82 | salt_master_host: |
| 83 | value_template: <<node_master_ip>> |
| 84 | infra_config: |
| 85 | expression: <<node_hostname>>__startswith__cfg |
| 86 | cluster_param: |
| 87 | infra_config_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 88 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 89 | infra_config_deploy_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 90 | value_template: <<node_deploy_ip>> |
Adam Tengler | 4f23d96 | 2017-07-04 19:54:59 +0000 | [diff] [blame] | 91 | cluster_domain: |
| 92 | value_template: <<node_domain>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 93 | openstack_control01: |
| 94 | expression: <<node_hostname>>__equals__ctl01 |
| 95 | cluster_param: |
| 96 | openstack_control_node01_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 97 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 98 | openstack_control02: |
| 99 | expression: <<node_hostname>>__equals__ctl02 |
| 100 | cluster_param: |
| 101 | openstack_control_node02_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 102 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 103 | openstack_control03: |
| 104 | expression: <<node_hostname>>__equals__ctl03 |
| 105 | cluster_param: |
| 106 | openstack_control_node03_address: |
Adam Tengler | c617650 | 2017-07-04 20:45:06 +0000 | [diff] [blame] | 107 | value_template: <<node_control_ip>> |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame] | 108 | openstack_compute: |
| 109 | expression: <<node_hostname>>__startswith__cmp |
| 110 | node_class: |
| 111 | value_template: |
| 112 | - cluster.<<node_cluster>>.openstack.compute |
Adam Tengler | 8b25441 | 2017-06-29 18:30:32 +0000 | [diff] [blame] | 113 | node_param: |
| 114 | tenant_address: |
| 115 | value_template: <<node_tenant_ip>> |
| 116 | external_address: |
| 117 | value_template: <<node_external_ip>> |
Adam Tengler | f16be66 | 2017-07-18 10:25:13 +0000 | [diff] [blame] | 118 | openstack_gateway: |
| 119 | expression: <<node_hostname>>__startswith__gtw |
| 120 | node_class: |
| 121 | value_template: |
| 122 | - cluster.<<node_cluster>>.openstack.gateway |
| 123 | node_param: |
| 124 | tenant_address: |
| 125 | value_template: <<node_tenant_ip>> |
| 126 | external_address: |
| 127 | value_template: <<node_external_ip>> |
| 128 | cluster_param: |
| 129 | openstack_gateway_node01_address: |
| 130 | value_template: <<node_control_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 131 | node: |
| 132 | openstack_control_node01: |
| 133 | classes: |
| 134 | - service.galera.master.cluster |
| 135 | params: |
| 136 | mysql_cluster_role: master |
| 137 | linux_system_codename: xenial |
| 138 | openstack_control_node02: |
| 139 | classes: |
| 140 | - service.galera.slave.cluster |
| 141 | params: |
| 142 | mysql_cluster_role: slave |
| 143 | linux_system_codename: xenial |
| 144 | openstack_control_node03: |
| 145 | classes: |
| 146 | - service.galera.slave.cluster |
| 147 | params: |
| 148 | mysql_cluster_role: slave |
| 149 | linux_system_codename: xenial |