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 |
| 12 | - system.keystone.client.single |
| 13 | - system.keystone.client.service.ceilometer |
| 14 | - system.keystone.client.service.nova21 |
| 15 | - system.keystone.client.service.glare |
| 16 | - system.keystone.client.service.cinder3 |
| 17 | - system.mysql.client.single |
| 18 | - system.reclass.storage.system.openstack_control_cluster |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 19 | - system.reclass.storage.system.stacklight_server_cluster |
| 20 | - cluster.sl_os_ovs.openstack.proxy |
| 21 | - cluster.sl_os_ovs.stacklight.proxy |
| 22 | - cluster.sl_os_ovs |
| 23 | parameters: |
| 24 | _param: |
| 25 | reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| 26 | reclass_data_revision: master |
| 27 | salt_master_environment_repository: "https://github.com/tcpcloud" |
| 28 | salt_master_environment_revision: master |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame^] | 29 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 30 | single_address: ${_param:infra_config_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 31 | salt_master_host: 127.0.0.1 |
| 32 | salt_master_base_environment: prd |
| 33 | salt_minion_ca_host: ${linux:network:fqdn} |
| 34 | salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| 35 | linux: |
| 36 | network: |
| 37 | interface: |
| 38 | ens4: |
| 39 | enabled: true |
| 40 | type: eth |
| 41 | proto: static |
| 42 | address: ${_param:single_address} |
| 43 | netmask: 255.255.255.0 |
| 44 | nginx: |
| 45 | server: |
| 46 | site: |
| 47 | nginx_proxy_openstack_web: |
| 48 | proxy: |
| 49 | host: prx |
| 50 | nginx_proxy_openstack_api_heat_cfn: |
| 51 | enabled: false |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame^] | 52 | salt: |
| 53 | master: |
| 54 | reactor: |
| 55 | reclass/minion/classify: |
| 56 | - salt://reclass/reactor/node_register.sls |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 57 | reclass: |
| 58 | storage: |
Adam Tengler | 250d5bb | 2017-06-29 15:59:02 +0000 | [diff] [blame^] | 59 | class_mapping: |
| 60 | common_node: |
| 61 | expression: all |
| 62 | node_param: |
| 63 | single_address: |
| 64 | value_template: <<node_ip>> |
| 65 | linux_system_codename: |
| 66 | value_template: <<node_os>> |
| 67 | salt_master_host: |
| 68 | value_template: <<node_master_ip>> |
| 69 | infra_config: |
| 70 | expression: <<node_hostname>>__startswith__cfg |
| 71 | cluster_param: |
| 72 | infra_config_address: |
| 73 | value_template: <<node_ip>> |
| 74 | infra_config_deploy_address: |
| 75 | value_template: <<node_ip>> |
| 76 | openstack_control01: |
| 77 | expression: <<node_hostname>>__equals__ctl01 |
| 78 | cluster_param: |
| 79 | openstack_control_node01_address: |
| 80 | value_template: <<node_ip>> |
| 81 | openstack_control02: |
| 82 | expression: <<node_hostname>>__equals__ctl02 |
| 83 | cluster_param: |
| 84 | openstack_control_node02_address: |
| 85 | value_template: <<node_ip>> |
| 86 | openstack_control03: |
| 87 | expression: <<node_hostname>>__equals__ctl03 |
| 88 | cluster_param: |
| 89 | openstack_control_node03_address: |
| 90 | value_template: <<node_ip>> |
| 91 | openstack_compute: |
| 92 | expression: <<node_hostname>>__startswith__cmp |
| 93 | node_class: |
| 94 | value_template: |
| 95 | - cluster.<<node_cluster>>.openstack.compute |
| 96 | stacklight_monitor01: |
| 97 | expression: <<node_hostname>>__equals__mon01 |
| 98 | cluster_param: |
| 99 | stacklight_node01_address: |
| 100 | value_template: <<node_ip>> |
| 101 | stacklight_monitor02: |
| 102 | expression: <<node_hostname>>__equals__mon02 |
| 103 | cluster_param: |
| 104 | stacklight_node02_address: |
| 105 | value_template: <<node_ip>> |
| 106 | stacklight_monitor03: |
| 107 | expression: <<node_hostname>>__equals__mon03 |
| 108 | cluster_param: |
| 109 | stacklight_node03_address: |
| 110 | value_template: <<node_ip>> |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 111 | node: |
| 112 | openstack_control_node01: |
| 113 | classes: |
| 114 | - service.galera.master.cluster |
| 115 | params: |
| 116 | mysql_cluster_role: master |
| 117 | linux_system_codename: xenial |
| 118 | openstack_control_node02: |
| 119 | classes: |
| 120 | - service.galera.slave.cluster |
| 121 | params: |
| 122 | mysql_cluster_role: slave |
| 123 | linux_system_codename: xenial |
| 124 | openstack_control_node03: |
| 125 | classes: |
| 126 | - service.galera.slave.cluster |
| 127 | params: |
| 128 | mysql_cluster_role: slave |
| 129 | linux_system_codename: xenial |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 130 | stacklight_server_node01: |
| 131 | classes: |
| 132 | - system.influxdb.server.single |
| 133 | - system.influxdb.database.stacklight |