Merge "Add checks in ansible upgrade tasks for CephMon and CephOSD"
[apex-tripleo-heat-templates.git] / puppet / services / ironic-base.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Ironic services 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   Debug:
22     default: ''
23     description: Set to True to enable debugging on all services.
24     type: string
25   IronicPassword:
26     description: The password for the Ironic service and db account, used by the Ironic services
27     type: string
28     hidden: true
29   RabbitUserName:
30     default: guest
31     description: The username for RabbitMQ
32     type: string
33   RabbitPassword:
34     description: The password for RabbitMQ
35     type: string
36     hidden: true
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
48 outputs:
49   role_data:
50     description: Role data for the Ironic role.
51     value:
52       service_name: ironic_base
53       config_settings:
54         ironic::database_connection:
55           list_join:
56             - ''
57             - - {get_param: [EndpointMap, MysqlInternal, protocol]}
58               - '://ironic:'
59               - {get_param: IronicPassword}
60               - '@'
61               - {get_param: [EndpointMap, MysqlInternal, host]}
62               - '/ironic'
63               - '?read_default_file=/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo'
64         ironic::debug: {get_param: Debug}
65         ironic::rabbit_userid: {get_param: RabbitUserName}
66         ironic::rabbit_password: {get_param: RabbitPassword}
67         ironic::rabbit_port: {get_param: RabbitClientPort}
68         ironic::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
69       step_config: |
70         include ::tripleo::profile::base::ironic