Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F24924643
D4010.id10464.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
711 B
Referenced Files
None
Subscribers
None
D4010.id10464.diff
View Options
diff --git a/roles/router/carp/files/carp.rc b/roles/router/carp/files/carp.rc
--- a/roles/router/carp/files/carp.rc
+++ b/roles/router/carp/files/carp.rc
@@ -18,6 +18,6 @@
{% set carp_pass = salt['credentials.get_password']('network/carp/' ~ entry.vhid) %}
{% set prefix = 27 if entry.interface_name == 'intranought' else 32 %}
-ifconfig_{{ entry.device }}_alias0="inet vhid {{ entry.vhid }} advskew {{ entry.advskew }} pass {{ carp_pass }} alias {{ entry.vip }}/{{ prefix }}"
+ifconfig_{{ entry.device }}_alias0="inet vhid {{ entry.vhid }} advskew {{ entry.advskew }} pass {{ carp_pass }}{% if entry.peer is defined %} peer {{ entry.peer }}{% endif %} alias {{ entry.vip }}/{{ prefix }}"
{% endfor %}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 19, 21:28 (15 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3545779
Default Alt Text
D4010.id10464.diff (711 B)
Attached To
Mode
D4010: Add to template roles/router/carp/files/carp.rc the parameter peer for the command ifconfig
Attached
Detach File
Event Timeline
Log In to Comment