Merge "Open ports 443 and 80 on haproxy's firewall when horizon is standalone"
[apex-tripleo-heat-templates.git] / puppet / services / ironic-base.yaml
1 heat_template_version: pike
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   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   Debug:
30     default: ''
31     description: Set to True to enable debugging on all services.
32     type: string
33   IronicPassword:
34     description: The password for the Ironic service and db account, used by the Ironic services
35     type: string
36     hidden: true
37   RabbitUserName:
38     default: guest
39     description: The username for RabbitMQ
40     type: string
41   RabbitPassword:
42     description: The password for RabbitMQ
43     type: string
44     hidden: true
45   RabbitClientPort:
46     default: 5672
47     description: Set rabbit subscriber port, change this if using SSL
48     type: number
49   RabbitClientUseSSL:
50     default: false
51     description: >
52         Rabbit client subscriber parameter to specify
53         an SSL connection to the RabbitMQ host.
54     type: string
55
56 outputs:
57   role_data:
58     description: Role data for the Ironic role.
59     value:
60       service_name: ironic_base
61       config_settings:
62         ironic::database_connection:
63           make_url:
64             scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
65             username: ironic
66             password: {get_param: IronicPassword}
67             host: {get_param: [EndpointMap, MysqlInternal, host]}
68             path: /ironic
69             query:
70               read_default_file: /etc/my.cnf.d/tripleo.cnf
71               read_default_group: tripleo
72         ironic::debug: {get_param: Debug}
73         ironic::rabbit_userid: {get_param: RabbitUserName}
74         ironic::rabbit_password: {get_param: RabbitPassword}
75         ironic::rabbit_port: {get_param: RabbitClientPort}
76         ironic::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
77       step_config: |
78         include ::tripleo::profile::base::ironic