Silly question: Why not use https://forge.puppet.com/modules/puppetlabs/ntp ?
___
Dan White : d_e_wh...@icloud.com
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to
The following configuration is finally working, yay!
I replaced "servers" with "*ntp_host*" in hiera to have a clean separation
between "server" and "servers".
Thank you for the help!
templates/ntp/ntp.conf.erb
# File is managed by Puppet
<% if @ntp['ntp_host'] -%>
server <%=
In EPP the template must look different:
<% $site::profiles::ntp::ntp[‘servers'].each |$server| { -%>
server: <%= $server %>
<% } -%>
An array may consist of a single entry only.
> On 28. Mar 2023, at 16:30, Laci D wrote:
>
> I tried both epp and erb templates.
>
> This is the manifest file: