Fixing resources path in OpenDaylight
[apex-tripleo-heat-templates.git] / puppet / services / sahara-base.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Sahara base service. Shared for all Sahara services.
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   RabbitPassword:
22     description: The password for RabbitMQ
23     type: string
24     hidden: true
25   RabbitUserName:
26     default: guest
27     description: The username for RabbitMQ
28     type: string
29   RabbitClientUseSSL:
30     default: false
31     description: >
32         Rabbit client subscriber parameter to specify
33         an SSL connection to the RabbitMQ host.
34     type: string
35   RabbitClientPort:
36     default: 5672
37     description: Set rabbit subscriber port, change this if using SSL
38     type: number
39   SaharaPassword:
40     description: The password for the sahara service account, used by sahara-api.
41     type: string
42     hidden: true
43   Debug:
44     type: string
45     default: ''
46     description: Set to True to enable debugging on all services.
47
48 outputs:
49   role_data:
50     description: Role data for the Sahara base service.
51     value:
52       service_name: sahara_base
53       config_settings:
54         sahara::database_connection:
55           list_join:
56             - ''
57             - - {get_param: [EndpointMap, MysqlInternal, protocol]}
58               - '://sahara:'
59               - {get_param: SaharaPassword}
60               - '@'
61               - {get_param: [EndpointMap, MysqlInternal, host]}
62               - '/sahara'
63         sahara::db::mysql::password: {get_param: SaharaPassword}
64         sahara::db::mysql::user: sahara
65         sahara::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
66         sahara::db::mysql::dbname: sahara
67         sahara::db::mysql::allowed_hosts:
68           - '%'
69           - "%{hiera('mysql_bind_host')}"
70         sahara::rabbit_password: {get_param: RabbitPassword}
71         sahara::rabbit_user: {get_param: RabbitUserName}
72         sahara::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
73         sahara::rabbit_port: {get_param: RabbitClientPort}
74         sahara::debug: {get_param: Debug}
75         sahara::admin_password: {get_param: SaharaPassword}
76         sahara::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
77         sahara::identity_uri: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }
78         sahara::use_neutron: true
79         sahara::plugins:
80           - ambari
81           - cdh
82           - mapr
83           - vanilla
84           - spark
85           - storm
86         sahara::rpc_backend: rabbit
87         sahara::admin_tenant_name: 'service'
88         sahara::db::database_db_max_retries: -1
89         sahara::db::database_max_retries: -1