Merge "Remove conditional for neutron l3_ha"
[apex-tripleo-heat-templates.git] / puppet / services / keepalived.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Keepalived service 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   ControlVirtualInterface:
22     default: ''
23     description: >
24         Interface where virtual ip will be assigned.  This value will be
25         automatically set by the deployment tool.  Overriding here will
26         override automatic setting.
27     type: string
28   PublicVirtualInterface:
29     default: ''
30     description: >
31         Interface where virtual ip will be assigned.  This value will be
32         automatically set by the deployment tool.  Overriding here will
33         override automatic setting.
34     type: string
35   MonitoringSubscriptionKeepalived:
36     default: 'overcloud-keepalived'
37     type: string
38
39 outputs:
40   role_data:
41     description: Role data for the Keepalived role.
42     value:
43       service_name: keepalived
44       monitoring_subscription: {get_param: MonitoringSubscriptionKeepalived}
45       config_settings:
46         tripleo::keepalived::control_virtual_interface: {get_param: ControlVirtualInterface}
47         tripleo::keepalived::public_virtual_interface: {get_param: PublicVirtualInterface}
48         tripleo.keepalived.firewall_rules:
49           '106 keepalived vrrp':
50             proto: vrrp
51       step_config: |
52         include ::tripleo::profile::base::keepalived