From d57b1420f2c2a808f630d9b718bb3c3f39333d21 Mon Sep 17 00:00:00 2001 From: David Kohl Date: Tue, 18 Apr 2017 11:33:18 -0400 Subject: [PATCH] allow monitor disabled while setting stat properties --- templates/ntp.conf.epp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/ntp.conf.epp b/templates/ntp.conf.epp index bff520c7..1a9d7403 100644 --- a/templates/ntp.conf.epp +++ b/templates/ntp.conf.epp @@ -10,7 +10,8 @@ tinker<% if $ntp::_panic { %> panic <%= $ntp::_panic %><% } %><%if $ntp::stepout <%# -%> <% if $ntp::disable_monitor {-%> disable monitor -<% } else {-%> +<% } -%> + statsdir <%= $ntp::statsdir %> <% unless $ntp::statistics.empty {-%> # Build requested statistics files @@ -19,7 +20,6 @@ statistics <%= $ntp::statistics.join(' ') %> filegen <%= $statistic %> file <%= $statistic %> type day enable <% } -%> -<% } -%> <% } -%> <% if $ntp::disable_auth {-%> disable auth