Merge "Optimize kernel neighbour table for large scale environments"
[apex-tripleo-heat-templates.git] / puppet / services / aodh-base.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Aodh service configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   AodhPassword:
30     description: The password for the aodh services.
31     type: string
32     hidden: true
33   RedisPassword:
34     description: The password for the redis service account.
35     type: string
36     hidden: true
37   RabbitPassword:
38     description: The password for RabbitMQ
39     type: string
40     hidden: true
41   RabbitUserName:
42     default: guest
43     description: The username for RabbitMQ
44     type: string
45   RabbitClientUseSSL:
46     default: false
47     description: >
48         Rabbit client subscriber parameter to specify
49         an SSL connection to the RabbitMQ host.
50     type: string
51   RabbitClientPort:
52     default: 5672
53     description: Set rabbit subscriber port, change this if using SSL
54     type: number
55   Debug:
56     default: ''
57     description: Set to True to enable debugging on all services.
58     type: string
59   KeystoneRegion:
60     type: string
61     default: 'regionOne'
62     description: Keystone region for endpoint
63
64 outputs:
65   role_data:
66     description: Role data for the Aodh role.
67     value:
68       service_name: aodh_base
69       config_settings:
70         aodh_redis_password: {get_param: RedisPassword}
71         aodh::db::database_connection:
72           make_url:
73             scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
74             username: aodh
75             password: {get_param: AodhPassword}
76             host: {get_param: [EndpointMap, MysqlInternal, host]}
77             path: /aodh
78             query:
79               read_default_file: /etc/my.cnf.d/tripleo.cnf
80               read_default_group: tripleo
81         aodh::debug: {get_param: Debug}
82         aodh::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
83         aodh::rabbit_userid: {get_param: RabbitUserName}
84         aodh::rabbit_password: {get_param: RabbitPassword}
85         aodh::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
86         aodh::rabbit_port: {get_param: RabbitClientPort}
87         aodh::keystone::authtoken::project_name: 'service'
88         aodh::keystone::authtoken::user_domain_name: 'Default'
89         aodh::keystone::authtoken::project_domain_name: 'Default'
90         aodh::keystone::authtoken::password: {get_param: AodhPassword}
91         aodh::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
92         aodh::keystone::authtoken::auth_url: { get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
93         aodh::auth::auth_password: {get_param: AodhPassword}
94         aodh::auth::auth_region: {get_param: KeystoneRegion}
95         aodh::auth::auth_tenant_name: 'service'
96       service_config_settings:
97         keystone:
98           aodh::keystone::auth::public_url: {get_param: [EndpointMap, AodhPublic, uri]}
99           aodh::keystone::auth::internal_url: {get_param: [EndpointMap, AodhInternal, uri]}
100           aodh::keystone::auth::admin_url: {get_param: [EndpointMap, AodhAdmin, uri]}
101           aodh::keystone::auth::password: {get_param: AodhPassword}
102           aodh::keystone::auth::region: {get_param: KeystoneRegion}
103           aodh::keystone::auth::tenant: 'service'
104         mysql:
105           aodh::db::mysql::user: aodh
106           aodh::db::mysql::password: {get_param: AodhPassword}
107           aodh::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
108           aodh::db::mysql::dbname: aodh
109           aodh::db::mysql::allowed_hosts:
110             - '%'
111             - "%{hiera('mysql_bind_host')}"