diff --git a/templates/chrony.conf.epp b/templates/chrony.conf.epp index b9da663..1970f6d 100644 --- a/templates/chrony.conf.epp +++ b/templates/chrony.conf.epp @@ -92,7 +92,7 @@ logdir /var/log/chrony <% if $chrony::log_options { -%> log <%= $chrony::log_options %> <% } -%> -<% if $chrony::refclocks { -%> +<% unless $chrony::refclocks.empty { -%> <% $chrony::refclocks.each |$driver| { -%> refclock <%= $driver.flatten.join(' ') %>