Skip to content

Commit

Permalink
allow monitor disabled while setting stat properties
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kohl committed Apr 18, 2017
1 parent 0937505 commit d57b142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/ntp.conf.epp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -19,7 +20,6 @@ statistics <%= $ntp::statistics.join(' ') %>
filegen <%= $statistic %> file <%= $statistic %> type day enable
<% } -%>

<% } -%>
<% } -%>
<% if $ntp::disable_auth {-%>
disable auth
Expand Down

0 comments on commit d57b142

Please sign in to comment.