From 4d2ad7f51ca343010f89868861989e6aa975fc93 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 1 Mar 2011 23:07:32 +0100 Subject: [PATCH] puppet ignores replace=>false with content => --- modules/unbound/files/debian.org.key | 2 ++ modules/unbound/files/root.key | 3 +++ modules/unbound/manifests/init.pp | 7 ++----- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 modules/unbound/files/debian.org.key create mode 100644 modules/unbound/files/root.key diff --git a/modules/unbound/files/debian.org.key b/modules/unbound/files/debian.org.key new file mode 100644 index 000000000..3d986a01a --- /dev/null +++ b/modules/unbound/files/debian.org.key @@ -0,0 +1,2 @@ +# debian.org DS record, July 2010' +debian.org. IN DS 5283 7 2 3DC987A633914C195D03EA129E92327630D3428E92884A5E97829A55701F9E8A diff --git a/modules/unbound/files/root.key b/modules/unbound/files/root.key new file mode 100644 index 000000000..6d1591fef --- /dev/null +++ b/modules/unbound/files/root.key @@ -0,0 +1,3 @@ +# IANA root trust anchor, valid from 2010-07-15T00:00:00+00:00 +# downloaded from https://data.iana.org/root-anchors/root-anchors.xml +. IN DS 19036 8 2 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5 diff --git a/modules/unbound/manifests/init.pp b/modules/unbound/manifests/init.pp index 873ff6c2a..fb69d1cce 100644 --- a/modules/unbound/manifests/init.pp +++ b/modules/unbound/manifests/init.pp @@ -22,9 +22,7 @@ class unbound { owner => unbound, group => unbound, mode => 644, - # IANA root trust anchor, valid from 2010-07-15T00:00:00+00:00 - # downloaded from https://data.iana.org/root-anchors/root-anchors.xml - content => ". IN DS 19036 8 2 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5\n", + source => [ "puppet:///modules/unbound/root.key" ], notify => Exec["unbound restart"], ; "/var/lib/unbound/debian.org.key": @@ -33,8 +31,7 @@ class unbound { owner => unbound, group => unbound, mode => 644, - # debian.org DS record, July 2010' - content => "debian.org. IN DS 5283 7 2 3DC987A633914C195D03EA129E92327630D3428E92884A5E97829A55701F9E8A\n", + source => [ "puppet:///modules/unbound/debian.org.key" ], notify => Exec["unbound restart"], ; "/etc/unbound/unbound.conf": -- 2.20.1