From: Peter Palfrader Date: Tue, 9 Oct 2018 09:43:40 +0000 (+0200) Subject: restart unbound after putting trust anchors in place X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=2d15b9008f311fe6443ee665f2fa6ef92b038487;p=mirror%2Fdsa-puppet.git restart unbound after putting trust anchors in place --- 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'),