blob: f20195f1eb6155dc2c244c608edfc7d3d66f7d87 [file] [log] [blame]
classes:
- service.aodh.server.single
- system.salt.minion.cert.mysql.clients.openstack.aodh
parameters:
_param:
openstack_event_alarm_topic: alarm.all
# Keep alarm history in database for 30 days
aodh_alarm_history_ttl: 2592000
openstack_mysql_x509_enabled: False
galera_ssl_enabled: False
linux:
system:
cron:
user:
aodh:
enabled: true
aodh:
server:
database:
x509:
enabled: ${_param:openstack_mysql_x509_enabled}
ca_file: ${_param:mysql_aodh_ssl_ca_file}
key_file: ${_param:mysql_aodh_client_ssl_key_file}
cert_file: ${_param:mysql_aodh_client_ssl_cert_file}
ssl:
enabled: ${_param:galera_ssl_enabled}
ttl: ${_param:aodh_alarm_history_ttl}
role: ${_param:openstack_node_role}
region: ${_param:openstack_region}
event_alarm_topic: ${_param:openstack_event_alarm_topic}
identity:
region: ${_param:openstack_region}
# Check for expired alarm history every day at 2 AM
expirer:
cron:
minute: 0
hour: 2