Fixing resources path in OpenDaylight
[apex-tripleo-heat-templates.git] / puppet / services / manila-base.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Openstack Manila base service. Shared by manila-api/scheduler/share 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   Debug:
22     default: ''
23     description: Set to True to enable debugging on all services.
24     type: string
25   RabbitPassword:
26     description: The password for RabbitMQ
27     type: string
28     hidden: true
29   RabbitUserName:
30     default: guest
31     description: The username for RabbitMQ
32     type: string
33   RabbitClientUseSSL:
34     default: false
35     description: >
36         Rabbit client subscriber parameter to specify
37         an SSL connection to the RabbitMQ host.
38     type: string
39   RabbitClientPort:
40     default: 5672
41     description: Set rabbit subscriber port, change this if using SSL
42     type: number
43
44 outputs:
45   role_data:
46     description: Role data for the Manila Base service.
47     value:
48       service_name: manila_base
49       config_settings:
50         manila::rabbit_userid: {get_param: RabbitUserName}
51         manila::rabbit_password: {get_param: RabbitPassword}
52         manila::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
53         manila::rabbit_port: {get_param: RabbitClientPort}
54         manila::debug: {get_param: Debug}
55         manila::db::mysql::user: manila
56         manila::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
57         manila::db::mysql::dbname: manila
58         manila::db::database_db_max_retries: -1
59         manila::db::database_max_retries: -1
60         manila::db::mysql::allowed_hosts:
61           - '%'
62           - "%{hiera('mysql_bind_host')}"