Puppet : NTP Module install error on a Ubuntu Node

I have installed ntp module on my PE server :
[root@kirankumarannam2 modules]# puppet module install puppetlabs-ntp
Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/etc/puppetlabs/code/environments/production/modules
└─┬ puppetlabs-ntp (v7.3.0)
└── puppetlabs-stdlib (v5.1.0)
[root@kirankumarannam2 modules]#

And then added the Class ntp to Ubuntu group in Puppet Webconsole where i have addedd my Ubuntu Node to the group . 

user_99787_5bceb1dc800ba.JPG_800.jpg

While running Puppet run ( puppet agent -t ) on my Ubuntu node while installing the "ntp" module it throws an error.

root@kirankumarannam4:/etc/puppetlabs/puppet# puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Class[Ntp]:
expects a value for parameter 'authprov'
expects a value for parameter 'broadcastclient'
expects a value for parameter 'burst'
expects a value for parameter 'config'
expects a value for parameter 'config_dir'
expects a value for parameter 'config_epp'
expects a value for parameter 'config_file_mode'
expects a value for parameter 'config_template'
expects a value for parameter 'disable_auth'
expects a value for parameter 'disable_dhclient'
expects a value for parameter 'disable_kernel'
expects a value for parameter 'disable_monitor'
expects a value for parameter 'driftfile'
expects a value for parameter 'enable_mode7'
expects a value for parameter 'fudge'
expects a value for parameter 'iburst_enable'
expects a value for parameter 'interfaces'
expects a value for parameter 'interfaces_ignore'
expects a value for parameter 'keys'
expects a value for parameter 'keys_controlkey'
expects a value for parameter 'keys_enable'
expects a value for parameter 'keys_file'
expects a value for parameter 'keys_requestkey'
expects a value for parameter 'keys_trusted'
expects a value for parameter 'leapfile'
expects a value for parameter 'logfile'
expects a value for parameter 'maxpoll'
expects a value for parameter 'minpoll'
expects a value for parameter 'noselect_servers'
expects a value for parameter 'ntpsigndsocket'
expects a value for parameter 'package_ensure'
expects a value for parameter 'package_manage'
expects a value for parameter 'package_name'
expects a value for parameter 'panic'
expects a value for parameter 'peers'
expects a value for parameter 'pool'
expects a value for parameter 'preferred_servers'
expects a value for parameter 'restrict'
expects a value for parameter 'servers'
expects a value for parameter 'service_enable'
expects a value for parameter 'service_ensure'
expects a value for parameter 'service_manage'
expects a value for parameter 'service_name'
expects a value for parameter 'service_provider'
expects a value for parameter 'slewalways'
expects a value for parameter 'statistics'
expects a value for parameter 'statsdir'
expects a value for parameter 'step_tickers_epp'
expects a value for parameter 'step_tickers_file'
expects a value for parameter 'step_tickers_template'
expects a value for parameter 'stepout'
expects a value for parameter 'tinker'
expects a value for parameter 'tos'
expects a value for parameter 'tos_ceiling'
expects a value for parameter 'tos_cohort'
expects a value for parameter 'tos_floor'
expects a value for parameter 'tos_maxclock'
expects a value for parameter 'tos_minclock'
expects a value for parameter 'tos_minsane'
expects a value for parameter 'tos_orphan'
expects a value for parameter 'udlc'
expects a value for parameter 'udlc_stratum' on node kirankumarannam4.mylabserver.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
root@kirankumarannam4:/etc/puppetlabs/puppet# Write failed: Broken pipe

In the community i have found that this issue is related to Latest NTP not being supporting the currently installed PE Server. So i have tried installing old versions too as suggested and while installing old version of ntp module i get below error.


[root@kirankumarannam2 modules]# puppet module install puppetlabs-ntp --version 6.4.1
Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Error: Could not install module 'puppetlabs-ntp' (???)
No version of 'puppetlabs-ntp' can satisfy all dependencies
Use `puppet module install --ignore-dependencies` to install only this module

I'm kind of stuck here can someone help please ?

-Kiran


  • post-author-pic
    Travis T
    10-23-2018

    I thought I updated the video, but you need to use version 3.2.1. You can use the command below to intall it. Make sure to remove the NTP module.


    puppet module install puppetlabs-ntp --version 3.2.1


Looking For Team Training?

Learn More