Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +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 |
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 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +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 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +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ý | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 13 | - system.keystone.client.core |
| 14 | - system.keystone.client.service.aodh |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 15 | - system.keystone.client.service.ceilometer |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 16 | - system.keystone.client.service.designate |
| 17 | - system.keystone.client.service.cinder |
| 18 | - system.keystone.client.service.cinder2 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 19 | - system.keystone.client.service.cinder3 |
Petr Jediný | 3114a39 | 2017-08-02 15:21:09 +0200 | [diff] [blame] | 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 |
Jiri Broulik | f212d21 | 2017-07-21 11:09:00 +0200 | [diff] [blame] | 29 | - system.reclass.storage.system.openstack_control_single |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 30 | - cluster.os-aio-ovs.openstack.proxy |
| 31 | - cluster.os-aio-ovs |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 32 | parameters: |
| 33 | _param: |
| 34 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 35 | reclass_data_revision: master |
| 36 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 37 | salt_master_environment_revision: master |
Adam Tengler | 8152620 | 2017-07-11 13:03:40 +0000 | [diff] [blame] | 38 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 39 | single_address: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 40 | salt_master_host: 127.0.0.1 |
| 41 | salt_master_base_environment: prd |
| 42 | salt_minion_ca_host: ${linux:network:fqdn} |
| 43 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 44 | linux: |
| 45 | network: |
| 46 | interface: |
| 47 | ens4: |
| 48 | enabled: true |
| 49 | type: eth |
| 50 | proto: static |
| 51 | address: ${_param:single_address} |
| 52 | netmask: 255.255.255.0 |
| 53 | nginx: |
| 54 | server: |
| 55 | site: |
| 56 | nginx_proxy_openstack_web: |
| 57 | proxy: |
Jan Cach | 4446e41 | 2017-09-21 11:30:54 +0200 | [diff] [blame] | 58 | host: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 59 | nginx_proxy_openstack_api_heat_cfn: |
| 60 | enabled: false |
Jiri Broulik | f212d21 | 2017-07-21 11:09:00 +0200 | [diff] [blame] | 61 | salt: |
| 62 | master: |
| 63 | reactor: |
| 64 | reclass/minion/classify: |
| 65 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 66 | reclass: |
| 67 | storage: |
Jiri Broulik | f212d21 | 2017-07-21 11:09:00 +0200 | [diff] [blame] | 68 | class_mapping: |
| 69 | common_node: |
| 70 | expression: all |
| 71 | node_param: |
| 72 | single_address: |
| 73 | value_template: <<node_control_ip>> |
| 74 | linux_system_codename: |
| 75 | value_template: <<node_os>> |
| 76 | salt_master_host: |
| 77 | value_template: <<node_master_ip>> |
| 78 | infra_config: |
| 79 | expression: <<node_hostname>>__startswith__cfg |
| 80 | cluster_param: |
| 81 | infra_config_address: |
| 82 | value_template: <<node_control_ip>> |
| 83 | infra_config_deploy_address: |
| 84 | value_template: <<node_deploy_ip>> |
| 85 | cluster_domain: |
| 86 | value_template: <<node_domain>> |
| 87 | openstack_control01: |
| 88 | expression: <<node_hostname>>__equals__ctl01 |
| 89 | cluster_param: |
| 90 | openstack_control_node01_address: |
| 91 | value_template: <<node_control_ip>> |
| 92 | openstack_compute: |
| 93 | expression: <<node_hostname>>__startswith__cmp |
| 94 | node_class: |
| 95 | value_template: |
| 96 | - cluster.<<node_cluster>>.openstack.compute |
| 97 | node_param: |
| 98 | tenant_address: |
| 99 | value_template: <<node_tenant_ip>> |
| 100 | external_address: |
| 101 | value_template: <<node_external_ip>> |
| 102 | openstack_gateway: |
| 103 | expression: <<node_hostname>>__startswith__gtw |
| 104 | node_class: |
| 105 | value_template: |
| 106 | - cluster.<<node_cluster>>.openstack.gateway |
| 107 | node_param: |
| 108 | tenant_address: |
| 109 | value_template: <<node_tenant_ip>> |
| 110 | external_address: |
| 111 | value_template: <<node_external_ip>> |
| 112 | cluster_param: |
| 113 | openstack_gateway_node01_address: |
| 114 | value_template: <<node_control_ip>> |
Jiri Broulik | abd4e38 | 2017-07-21 17:24:22 +0200 | [diff] [blame] | 115 | # node: |
| 116 | # openstack_control_node01: |
| 117 | # params: |
| 118 | # mysql_cluster_role: master |
Jiri Broulik | f212d21 | 2017-07-21 11:09:00 +0200 | [diff] [blame] | 119 | |
| 120 | |
| 121 | # nginx: |
| 122 | # server: |
| 123 | # site: |
| 124 | # nginx_proxy_openstack_web: |
| 125 | # proxy: |
| 126 | # host: prx |
| 127 | # nginx_proxy_openstack_api_heat_cfn: |
| 128 | # enabled: false |
| 129 | # reclass: |
| 130 | # storage: |
| 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 |
| 150 | # openstack_compute_node01: |
| 151 | # params: |
| 152 | # single_address: 172.16.10.105 |
| 153 | # tenant_address: 10.1.0.105 |
| 154 | # external_address: 10.16.0.105 |
| 155 | # openstack_compute_node02: |
| 156 | # params: |
| 157 | # single_address: 172.16.10.106 |
| 158 | # tenant_address: 10.1.0.106 |
| 159 | # external_address: 10.16.0.106 |
| 160 | # openstack_gateway_node01: |
| 161 | # params: |
| 162 | # tenant_address: 10.1.0.110 |
| 163 | # external_address: 10.16.0.110 |
| 164 | # openstack_proxy_node01: |
| 165 | # classes: |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 166 | # - cluster.os-aio-ovs.openstack.proxy |
Jiri Broulik | f212d21 | 2017-07-21 11:09:00 +0200 | [diff] [blame] | 167 | # params: |
| 168 | # linux_system_codename: xenial |
| 169 | |