restart unbound after putting trust anchors in place
authorPeter Palfrader <peter@palfrader.org>
Tue, 9 Oct 2018 09:43:40 +0000 (11:43 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 9 Oct 2018 09:43:49 +0000 (11:43 +0200)
modules/unbound/manifests/init.pp

index 667abc1..88267d1 100644 (file)
@@ -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'),