From 2d15b9008f311fe6443ee665f2fa6ef92b038487 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 9 Oct 2018 11:43:40 +0200 Subject: [PATCH] restart unbound after putting trust anchors in place --- modules/unbound/manifests/init.pp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/unbound/manifests/init.pp b/modules/unbound/manifests/init.pp index 667abc11f..88267d152 100644 --- a/modules/unbound/manifests/init.pp +++ b/modules/unbound/manifests/init.pp @@ -41,7 +41,8 @@ class unbound { owner => unbound, group => unbound, mode => '0644', - source => 'puppet:///modules/unbound/root.key' + source => 'puppet:///modules/unbound/root.key', + notify => Service['unbound'] } file { '/var/lib/unbound/debian.org.key': ensure => present, @@ -49,7 +50,8 @@ class unbound { owner => unbound, group => unbound, mode => '0644', - source => 'puppet:///modules/unbound/debian.org.key' + source => 'puppet:///modules/unbound/debian.org.key', + notify => Service['unbound'] } file { '/var/lib/unbound/29.172.in-addr.arpa.key': ensure => present, @@ -57,7 +59,8 @@ class unbound { owner => unbound, group => unbound, mode => '0644', - source => 'puppet:///modules/unbound/29.172.in-addr.arpa.key' + source => 'puppet:///modules/unbound/29.172.in-addr.arpa.key', + notify => Service['unbound'] } file { '/etc/unbound/unbound.conf': content => template('unbound/unbound.conf.erb'), -- 2.20.1