deploy network/interfaces stanza for anycast node
[mirror/dsa-puppet.git] / modules / roles / manifests / bgp.pp
index 315054e..5e3fbb0 100644 (file)
@@ -13,4 +13,9 @@ class roles::bgp {
                domain      => '(ip ip6)',
                rule        => "&SERVICE_RANGE(tcp, bgp, ($bgp_peers))"
        }
+
+       file { '/etc/network/interfaces.d/anycasted':
+               content => template('roles/anycast/interfaces.erb')
+       }
+
 }