Problem installing NTP module

I’ve been following the quickstart page Foreman :: Manual

The chosen OS Ubuntu v16

Everything installs OK until I install the NTP module, the NTP install and GUI changes are OK.

It fails when I do “puppet agent --test” on the foreman host it fails:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Ntp]:

Thanks, David

I found reason for problem, all of the NTP module parameters are set to override and the parameter types were incorrect. So turned off all of the override, except for servers, made it an array and entered the required NTP servers.

All now working.

David

1 Like

Thanks for the solution. I’m not a expert in Puppet, so I don’t have any idea how ingress array value in Foreman web GUI, so as a complement to this solution, I found the array value format in GitHub - puppetlabs/puppetlabs-ntp: Puppet module to manage the NTP service and in my case I put this in “servers” module parameters->default value:

[“0.south-america.pool.ntp.org”,“1.south-america.pool.ntp.org”,“2.south-america.pool.ntp.org”,“3.south-america.pool.ntp.org”]

I hope this works to anyone with the same problem :upside_down_face:

1 Like