From fa0974df7c8c59c3deaabf5a3237c168a6379c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sch=C3=BCtte?= Date: Mon, 19 May 2014 22:02:39 +0200 Subject: [PATCH] bird 1.4.3 expects new bird.conf location --- manifests/init.pp | 14 ++++++++++---- templates/etc/{ => bird}/bird.conf.erb | 0 templates/etc/{ => bird}/bird6.conf.erb | 0 3 files changed, 10 insertions(+), 4 deletions(-) rename templates/etc/{ => bird}/bird.conf.erb (100%) rename templates/etc/{ => bird}/bird6.conf.erb (100%) diff --git a/manifests/init.pp b/manifests/init.pp index e5c7972..35dae3a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -441,9 +441,12 @@ class ff_gw::bird($ff_net, $ff_mesh_net, $ff_as, $own_ipv4, $own_ipv6, $gw_do_ic } -> file { - '/etc/bird6.conf': + '/etc/bird/bird6.conf': ensure => file, - content => template('ff_gw/etc/bird6.conf.erb'); + content => template('ff_gw/etc/bird/bird6.conf.erb'); + '/etc/bird6.conf': + ensure => link, + target => '/etc/bird/bird6.conf'; } ~> service { @@ -460,9 +463,12 @@ class ff_gw::bird($ff_net, $ff_mesh_net, $ff_as, $own_ipv4, $own_ipv6, $gw_do_ic } -> file { - '/etc/bird.conf': + '/etc/bird/bird.conf': ensure => file, - content => template('ff_gw/etc/bird.conf.erb'); + content => template('ff_gw/etc/bird/bird.conf.erb'); + '/etc/bird.conf': + ensure => link, + target => '/etc/bird/bird.conf'; } ~> service { diff --git a/templates/etc/bird.conf.erb b/templates/etc/bird/bird.conf.erb similarity index 100% rename from templates/etc/bird.conf.erb rename to templates/etc/bird/bird.conf.erb diff --git a/templates/etc/bird6.conf.erb b/templates/etc/bird/bird6.conf.erb similarity index 100% rename from templates/etc/bird6.conf.erb rename to templates/etc/bird/bird6.conf.erb