Your message dated Wed, 01 Jun 2016 20:59:08 +0200
with message-id <[email protected]>
and subject line puppet-module-puppetlabs-ntp: none
has caused the Debian Bug report #810481,
regarding puppet-module-puppetlabs-ntp: none
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
810481: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810481
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: puppet-module-puppetlabs-ntp
Severity: normal

Dear Maintainer,

Using the option logfile in the class ntp leads to a syntax error
in the ntp.conf files of the clients.(Jessie 8.2).

The relevant line in the config is
logfile = /var/log/ntp.log
but should be
logfile /var/log/ntp.log


Solution: remove the "=" in
/usr/share/puppet/modules.available/puppetlabs-ntp/templates/ntp.conf.erb
diff
/usr/share/puppet/modules.available/puppetlabs-ntp/templates/ntp.conf.erb 
~/ntp.conf.erb
47c47
< logfile = <%= @logfile %>
---
> logfile <%= @logfile %>




For instance, create file /etc/puppet/manifests/site.pp with
*************************
On puppet master
class { '::ntp':
  servers => [ '0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org',
'3.pool.ntp.org', ],
  logfile => '/var/log/ntp.log',
}
include '::ntp'
*************************

update client with  "puppet agent -t"  and check result with

*************************
root@euwe:~# service ntp status
● ntp.service - LSB: Start NTP daemon
   Loaded: loaded (/etc/init.d/ntp)
   Active: active (running) since Fr 2016-01-08 22:03:04 CET; 2s ago
  Process: 13904 ExecStop=/etc/init.d/ntp stop (code=exited,
status=0/SUCCESS)
  Process: 13914 ExecStart=/etc/init.d/ntp start (code=exited,
status=0/SUCCESS)
   CGroup: /system.slice/ntp.service
           └─13923 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 124:130

Jan 08 22:03:04 euwe ntpd[13923]: syntax error in /etc/ntp.conf line 28,
column 11
Jan 08 22:03:04 euwe ntpd[13923]: Listen and drop on 0 v4wildcard
0.0.0.0 UDP 123
Jan 08 22:03:04 euwe ntp[13914]: Starting NTP server: ntpd.
Jan 08 22:03:04 euwe ntpd[13923]: Listen and drop on 1 v6wildcard :: UDP 123
Jan 08 22:03:04 euwe ntpd[13923]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jan 08 22:03:04 euwe ntpd[13923]: Listen normally on 3 eth0
192.168.1.223 UDP 123
Jan 08 22:03:04 euwe ntpd[13923]: Listen normally on 4 lo ::1 UDP 123
Jan 08 22:03:04 euwe ntpd[13923]: Listen normally on 5 eth0
fe80::1e6f:65ff:feaf:abf UDP 123
Jan 08 22:03:04 euwe ntpd[13923]: peers refreshed
Jan 08 22:03:04 euwe ntpd[13923]: Listening on routing socket on fd #22
for interface updates
****************************


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


greets
  Bernd

--- End Message ---
--- Begin Message ---
Version: 4.1.0-1

This bug was fixed in a recent upload.

-- 
Stig Sandbeck Mathisen

--- End Message ---

Reply via email to