Merge "SR-IOV nic agent changes in line with composable roles."
[apex-tripleo-heat-templates.git] / puppet / services / aodh-base.yaml
1 heat_template_version: 2016-04-08
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   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   AodhPassword:
22     description: The password for the aodh services.
23     type: string
24     hidden: true
25   RedisPassword:
26     description: The password for the redis service account.
27     type: string
28     hidden: true
29   RabbitPassword:
30     description: The password for RabbitMQ
31     type: string
32     hidden: true
33   RabbitUserName:
34     default: guest
35     description: The username for RabbitMQ
36     type: string
37   RabbitClientUseSSL:
38     default: false
39     description: >
40         Rabbit client subscriber parameter to specify
41         an SSL connection to the RabbitMQ host.
42     type: string
43   RabbitClientPort:
44     default: 5672
45     description: Set rabbit subscriber port, change this if using SSL
46     type: number
47   Debug:
48     default: ''
49     description: Set to True to enable debugging on all services.
50     type: string
51   KeystoneRegion:
52     type: string
53     default: 'regionOne'
54     description: Keystone region for endpoint
55
56 outputs:
57   role_data:
58     description: Role data for the Aodh role.
59     value:
60       service_name: aodh_base
61       config_settings:
62         aodh::evaluator::coordination_url:
63           list_join:
64             - ''
65             - - 'redis://:'
66               - {get_param: RedisPassword}
67               - '@'
68               - "%{hiera('redis_vip')}"
69               - ':6379/'
70         aodh::db::database_connection:
71           list_join:
72             - ''
73             - - {get_param: [EndpointMap, MysqlInternal, protocol]}
74               - '://aodh:'
75               - {get_param: AodhPassword}
76               - '@'
77               - {get_param: [EndpointMap, MysqlInternal, host]}
78               - '/aodh'
79         aodh::debug: {get_param: Debug}
80         aodh::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri] }
81         aodh::rabbit_userid: {get_param: RabbitUserName}
82         aodh::rabbit_password: {get_param: RabbitPassword}
83         aodh::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
84         aodh::rabbit_port: {get_param: RabbitClientPort}
85         aodh::keystone::authtoken::project_name: 'service'
86         aodh::keystone::authtoken::password: {get_param: AodhPassword}
87         aodh::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
88         aodh::keystone::authtoken::auth_url: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }
89         aodh::auth::auth_password: {get_param: AodhPassword}
90         aodh::keystone::auth::public_url: {get_param: [EndpointMap, AodhPublic, uri]}
91         aodh::keystone::auth::internal_url: {get_param: [EndpointMap, AodhInternal, uri]}
92         aodh::keystone::auth::admin_url: {get_param: [EndpointMap, AodhAdmin, uri]}
93         aodh::keystone::auth::password: {get_param: AodhPassword}
94         aodh::keystone::auth::region: {get_param: KeystoneRegion}
95         aodh::keystone::auth::tenant: 'service'
96         aodh::db::mysql::user: aodh
97         aodh::db::mysql::password: {get_param: AodhPassword}
98         aodh::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
99         aodh::db::mysql::dbname: aodh
100         aodh::db::mysql::allowed_hosts:
101           - '%'
102           - "%{hiera('mysql_bind_host')}"
103         aodh::auth::auth_region: 'regionOne'
104         aodh::auth::auth_tenant_name: 'service'