From 6115aa7196047e39d03e45fb2e57626d7d3c5b8c Mon Sep 17 00:00:00 2001 From: b4ldr Date: Wed, 8 Jun 2016 15:35:13 +0100 Subject: [PATCH] move key definitions to the front --- manifests/init.pp | 14 +++++++------- manifests/tsig.pp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 0b124b7..32f08e8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -93,20 +93,20 @@ require => Package[$package_name], notify => Service[$service_name]; } - concat::fragment{'knot_server': - target => $conf_file, - content => template($server_template), - order => '01', - } concat::fragment{'key_head': target => $conf_file, content => "keys {\n", - order => '09', + order => '01', } concat::fragment{'key_foot': target => $conf_file, content => "}\n", - order => '11', + order => '03', + } + concat::fragment{'knot_server': + target => $conf_file, + content => template($server_template), + order => '10', } file { [$zonesdir, $zone_subdir, $conf_dir]: ensure => directory, diff --git a/manifests/tsig.pp b/manifests/tsig.pp index ad5f458..6623ef0 100644 --- a/manifests/tsig.pp +++ b/manifests/tsig.pp @@ -12,6 +12,6 @@ concat::fragment{ "knot_key_${name}": target => $::knot::conf_file, content => template($template), - order => '10', + order => '02', } }