1 heat_template_version: pike
4 Keepalived service configured with Puppet
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.
18 description: Role name on which the service is applied
22 description: Parameters specific to the role
26 description: Mapping of service endpoint -> protocol. Typically set
27 via parameter_defaults in the resource registry.
29 ControlVirtualInterface:
32 Interface where virtual ip will be assigned. This value will be
33 automatically set by the deployment tool. Overriding here will
34 override automatic setting.
36 PublicVirtualInterface:
39 Interface where virtual ip will be assigned. This value will be
40 automatically set by the deployment tool. Overriding here will
41 override automatic setting.
43 MonitoringSubscriptionKeepalived:
44 default: 'overcloud-keepalived'
49 control_iface_empty: {equals : [{get_param: ControlVirtualInterface}, '']}
50 public_iface_empty: {equals : [{get_param: PublicVirtualInterface}, '']}
54 description: Role data for the Keepalived role.
56 service_name: keepalived
57 monitoring_subscription: {get_param: MonitoringSubscriptionKeepalived}
60 - tripleo.keepalived.firewall_rules:
61 '106 keepalived vrrp':
67 - tripleo::keepalived::control_virtual_interface: {get_param: ControlVirtualInterface}
72 - tripleo::keepalived::public_virtual_interface: {get_param: PublicVirtualInterface}
74 include ::tripleo::profile::base::keepalived
76 - name: Stop keepalived service
78 service: name=keepalived state=stopped
79 - name: Start keepalived service
80 tags: step4 # Needed at step 4 for mysql
81 service: name=keepalived state=started