fix ospf
This commit is contained in:
parent
07efe1620d
commit
db70f1403d
|
@ -4,7 +4,7 @@ base:
|
||||||
- subnets
|
- subnets
|
||||||
- vlans
|
- vlans
|
||||||
- ospf
|
- ospf
|
||||||
'*gw':
|
'*-gw':
|
||||||
- dhcp
|
- dhcp
|
||||||
- ospf.gw
|
- ospf.gw
|
||||||
'anon1':
|
'anon1':
|
||||||
|
@ -17,4 +17,3 @@ base:
|
||||||
'server1':
|
'server1':
|
||||||
- lxc-containers.server1
|
- lxc-containers.server1
|
||||||
- switches
|
- switches
|
||||||
- ospf.gw
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ router ospf
|
||||||
|
|
||||||
network 172.20.72.0/21 area 0
|
network 172.20.72.0/21 area 0
|
||||||
area 0 authentication message-digest
|
area 0 authentication message-digest
|
||||||
{%- set redistribute = pillar['ospf']['redistribute'] %}
|
{%- set redistribute = pillar['ospf'].get('redistribute') %}
|
||||||
{%- if redistribute %}
|
{%- if redistribute %}
|
||||||
{%- for kind in redistribute %}
|
{%- for kind in redistribute %}
|
||||||
redistribute {{ kind }}
|
redistribute {{ kind }}
|
||||||
|
|
Loading…
Reference in New Issue