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