view modules/concat/examples/format.pp @ 351:78a9c5946154

Handle DNS64 locally to fix DNSSEC issues Unbound passes a "DO" (DNSSEC Okay) flag to upstream servers, which means they don't synthesise DNS64 entries correctly for some domains. Doing this loses us redundancy (if :82: goes down we're DNS-less until a manual change) but at least we can resolve more DNS now
author IBBoard <dev@ibboard.co.uk>
date Fri, 02 Oct 2020 20:16:04 +0100
parents d9352a684e62
children adf6fe9bbc17
line wrap: on
line source

concat { '/tmp/file':
  format => 'yaml', # See REFERENCE.md for more formats
}

concat::fragment { '1':
  target  => '/tmp/file',
  content => '{"one": "foo"}',
}

concat::fragment { '2':
  target  => '/tmp/file',
  content => '{"two": "bar"}',
}