Éric Lemoine | 6720196 | 2016-12-14 14:48:30 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.aodh.server.single |
Oleksandr Shyshko | d80ecd5 | 2018-09-04 18:06:42 +0300 | [diff] [blame] | 3 | - system.salt.minion.cert.mysql.clients.openstack.aodh |
Oleksandr Bryndzii | 33646d0 | 2018-09-19 11:08:31 +0300 | [diff] [blame] | 4 | - system.salt.minion.cert.rabbitmq.clients.openstack.aodh |
Mykyta Karpin | b96cbb3 | 2018-06-01 16:34:47 +0300 | [diff] [blame] | 5 | parameters: |
| 6 | _param: |
| 7 | openstack_event_alarm_topic: alarm.all |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 8 | # Keep alarm history in database for 30 days |
| 9 | aodh_alarm_history_ttl: 2592000 |
Oleksandr Shyshko | d80ecd5 | 2018-09-04 18:06:42 +0300 | [diff] [blame] | 10 | openstack_mysql_x509_enabled: False |
| 11 | galera_ssl_enabled: False |
Oleksandr Bryndzii | 33646d0 | 2018-09-19 11:08:31 +0300 | [diff] [blame] | 12 | openstack_rabbitmq_x509_enabled: False |
| 13 | rabbitmq_ssl_enabled: False |
Oleksandr Shyshko | 3d1dd6f | 2018-09-20 18:22:04 +0300 | [diff] [blame] | 14 | openstack_rabbitmq_port: 5672 |
Dmitry Teselkin | 986260f | 2018-08-30 19:07:25 +0300 | [diff] [blame] | 15 | linux: |
| 16 | system: |
| 17 | cron: |
| 18 | user: |
| 19 | aodh: |
| 20 | enabled: true |
Mykyta Karpin | b96cbb3 | 2018-06-01 16:34:47 +0300 | [diff] [blame] | 21 | aodh: |
| 22 | server: |
Oleksandr Shyshko | d80ecd5 | 2018-09-04 18:06:42 +0300 | [diff] [blame] | 23 | database: |
| 24 | x509: |
| 25 | enabled: ${_param:openstack_mysql_x509_enabled} |
| 26 | ca_file: ${_param:mysql_aodh_ssl_ca_file} |
| 27 | key_file: ${_param:mysql_aodh_client_ssl_key_file} |
| 28 | cert_file: ${_param:mysql_aodh_client_ssl_cert_file} |
| 29 | ssl: |
| 30 | enabled: ${_param:galera_ssl_enabled} |
Oleksandr Bryndzii | 33646d0 | 2018-09-19 11:08:31 +0300 | [diff] [blame] | 31 | message_queue: |
Oleksandr Shyshko | 3d1dd6f | 2018-09-20 18:22:04 +0300 | [diff] [blame] | 32 | port: ${_param:openstack_rabbitmq_port} |
Oleksandr Bryndzii | 33646d0 | 2018-09-19 11:08:31 +0300 | [diff] [blame] | 33 | x509: |
| 34 | enabled: ${_param:openstack_rabbitmq_x509_enabled} |
| 35 | ca_file: ${_param:rabbitmq_aodh_ssl_ca_file} |
| 36 | key_file: ${_param:rabbitmq_aodh_client_ssl_key_file} |
| 37 | cert_file: ${_param:rabbitmq_aodh_client_ssl_cert_file} |
| 38 | ssl: |
| 39 | enabled: ${_param:rabbitmq_ssl_enabled} |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 40 | ttl: ${_param:aodh_alarm_history_ttl} |
Mykyta Karpin | dc2b1c1 | 2018-07-17 10:17:06 +0300 | [diff] [blame] | 41 | role: ${_param:openstack_node_role} |
Mykyta Karpin | f16f02d | 2018-07-05 12:49:46 +0300 | [diff] [blame] | 42 | region: ${_param:openstack_region} |
Mykyta Karpin | b96cbb3 | 2018-06-01 16:34:47 +0300 | [diff] [blame] | 43 | event_alarm_topic: ${_param:openstack_event_alarm_topic} |
Mykyta Karpin | f16f02d | 2018-07-05 12:49:46 +0300 | [diff] [blame] | 44 | identity: |
| 45 | region: ${_param:openstack_region} |
Vasyl Saienko | 0343b68 | 2018-09-17 14:21:38 +0300 | [diff] [blame] | 46 | protocol: ${_param:internal_protocol} |
Mykyta Karpin | a243f26 | 2018-07-23 12:14:45 +0300 | [diff] [blame] | 47 | # Check for expired alarm history every day at 2 AM |
| 48 | expirer: |
| 49 | cron: |
| 50 | minute: 0 |
| 51 | hour: 2 |