Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 1 | applications: |
| 2 | - galera |
| 3 | parameters: |
| 4 | _param: |
| 5 | galera_server_cluster_name: galeracluster |
| 6 | galera_server_bind_address: ${_param:cluster_local_address} |
| 7 | galera_server_bind_port: 3306 |
| 8 | galera_server_admin_user: root |
Ales Komarek | 03c740e | 2015-04-30 15:17:05 +0200 | [diff] [blame^] | 9 | linux: |
| 10 | system: |
| 11 | repo: |
| 12 | trusty: |
| 13 | enabled: true |
| 14 | source: 'deb http://10.0.110.14 trusty main' |
| 15 | key_url: 'http://10.0.110.14/public.gpg' |
Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 16 | galera: |
| 17 | slave: |
| 18 | enabled: true |
| 19 | name: ${_param:galera_server_cluster_name} |
| 20 | bind: |
| 21 | address: ${_param:galera_server_bind_address} |
| 22 | port: ${_param:galera_server_bind_port} |
Ales Komarek | 63b99f4 | 2015-04-30 14:03:45 +0200 | [diff] [blame] | 23 | maintenance_password: ${_param:galera_server_maintenance_password} |
Ales Komarek | 72da805 | 2015-04-30 13:57:30 +0200 | [diff] [blame] | 24 | admin: |
| 25 | user: ${_param:galera_server_admin_user} |
| 26 | password: ${_param:galera_server_admin_password} |
| 27 | members: |
| 28 | - host: ${_param:cluster_node01_address} |
| 29 | port: 4567 |
| 30 | - host: ${_param:cluster_node02_address} |
| 31 | port: 4567 |
| 32 | - host: ${_param:cluster_node03_address} |
| 33 | port: 4567 |