Merge "Add params to manage and configure pipeline publisher"
[apex-tripleo-heat-templates.git] / puppet / services / cinder-base.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Cinder base service. Shared by all Cinder services.
5
6 parameters:
7   CinderPassword:
8     description: The password for the cinder service account, used by cinder-api.
9     type: string
10     hidden: true
11   Debug:
12     default: ''
13     description: Set to True to enable debugging on all services.
14     type: string
15   ServiceNetMap:
16     default: {}
17     description: Mapping of service_name -> network name. Typically set
18                  via parameter_defaults in the resource registry.  This
19                  mapping overrides those in ServiceNetMapDefaults.
20     type: json
21   DefaultPasswords:
22     default: {}
23     type: json
24   RoleName:
25     default: ''
26     description: Role name on which the service is applied
27     type: string
28   RoleParameters:
29     default: {}
30     description: Parameters specific to the role
31     type: json
32   EndpointMap:
33     default: {}
34     description: Mapping of service endpoint -> protocol. Typically set
35                  via parameter_defaults in the resource registry.
36     type: json
37   RabbitClientPort:
38     default: 5672
39     description: Set rabbit subscriber port, change this if using SSL
40     type: number
41   RabbitClientUseSSL:
42     default: false
43     description: >
44         Rabbit client subscriber parameter to specify
45         an SSL connection to the RabbitMQ host.
46     type: string
47   RabbitPassword:
48     description: The password for RabbitMQ
49     type: string
50     hidden: true
51   RabbitUserName:
52     default: guest
53     description: The username for RabbitMQ
54     type: string
55   CinderCronDbPurgeMinute:
56     type: string
57     description: >
58         Cron to move deleted instances to another table - Minute
59     default: '1'
60   CinderCronDbPurgeHour:
61     type: string
62     description: >
63         Cron to move deleted instances to another table - Hour
64     default: '0'
65   CinderCronDbPurgeMonthday:
66     type: string
67     description: >
68         Cron to move deleted instances to another table - Month Day
69     default: '*'
70   CinderCronDbPurgeMonth:
71     type: string
72     description: >
73         Cron to move deleted instances to another table - Month
74     default: '*'
75   CinderCronDbPurgeWeekday:
76     type: string
77     description: >
78         Cron to move deleted instances to another table - Week Day
79     default: '*'
80   CinderCronDbPurgeUser:
81     type: string
82     description: >
83         Cron to move deleted instances to another table - User
84     default: 'keystone'
85   CinderCronDbPurgeAge:
86     type: string
87     description: >
88         Cron to move deleted instances to another table - Age
89     default: '0'
90   CinderCronDbPurgeDestination:
91     type: string
92     description: >
93         Cron to move deleted instances to another table - Log destination
94     default: '/var/log/cinder/cinder-rowsflush.log'
95
96 outputs:
97   role_data:
98     description: Role data for the Cinder base service.
99     value:
100       service_name: cinder_base
101       config_settings:
102         cinder::database_connection:
103           make_url:
104             scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
105             username: cinder
106             password: {get_param: CinderPassword}
107             host: {get_param: [EndpointMap, MysqlInternal, host]}
108             path: /cinder
109             query:
110               read_default_file: /etc/my.cnf.d/tripleo.cnf
111               read_default_group: tripleo
112         cinder::debug: {get_param: Debug}
113         cinder::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
114         cinder::rabbit_userid: {get_param: RabbitUserName}
115         cinder::rabbit_password: {get_param: RabbitPassword}
116         cinder::rabbit_port: {get_param: RabbitClientPort}
117         cinder::rabbit_heartbeat_timeout_threshold: 60
118         cinder::cron::db_purge::destination: '/dev/null'
119         cinder::db::database_db_max_retries: -1
120         cinder::db::database_max_retries: -1
121         cinder::cron::db_purge::minute: {get_param: CinderCronDbPurgeMinute}
122         cinder::cron::db_purge::hour: {get_param: CinderCronDbPurgeHour}
123         cinder::cron::db_purge::monthday: {get_param: CinderCronDbPurgeMonthday}
124         cinder::cron::db_purge::month: {get_param: CinderCronDbPurgeMonth}
125         cinder::cron::db_purge::weekday: {get_param: CinderCronDbPurgeWeekday}
126         cinder::cron::db_purge::user: {get_param: CinderCronDbPurgeUser}
127         cinder::cron::db_purge::age: {get_param: CinderCronDbPurgeAge}
128         cinder::cron::db_purge::destination: {get_param: CinderCronDbPurgeDestination}
129         cinder::glance::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}