Hello, Seems you have a problem with your puppet ntp plugin : Class[Ntp]. Server logs would help to find more about the problem.
Guillaume Le vendredi 24 février 2017 09:45:26 UTC+1, Jonathan D a écrit : > > Running on ubuntu 16.02, the latest Foreman version. > > Here is the output: > > root@linuxhub:~# puppet agent --test > Info: Using configured environment 'production' > Info: Retrieving pluginfacts > Info: Retrieving plugin > Info: Loading facts > Error: Could not retrieve catalog from remote server: Error 500 on SERVER: > Server Error: Evaluation Error: Error while evaluating a Resource > Statement, Class[Ntp]: > parameter 'broadcastclient' expects a Boolean value, got String > parameter 'config' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'config_dir' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'disable_auth' expects a Boolean value, got String > parameter 'disable_dhclient' expects a Boolean value, got String > parameter 'disable_kernel' expects a Boolean value, got String > parameter 'disable_monitor' expects a Boolean value, got String > parameter 'fudge' expects an Array value, got String > parameter 'driftfile' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'leapfile' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'logfile' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'iburst_enable' expects a Boolean value, got String > parameter 'keys' expects an Array value, got String > parameter 'keys_enable' expects a Boolean value, got String > parameter 'keys_file' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'keys_controlkey' expects a Ntp::Key_id = Integer[1, 65534] > value, got String > parameter 'keys_requestkey' expects a Ntp::Key_id = Integer[1, 65534] > value, got String > parameter 'keys_trusted' expects an Array value, got String > parameter 'minpoll' expects a Ntp::Poll_interval = Integer[4, 17] value, > got String > parameter 'maxpoll' expects a Ntp::Poll_interval = Integer[4, 17] value, > got String > parameter 'package_manage' expects a Boolean value, got String > parameter 'package_name' expects an Array value, got String > parameter 'panic' expects an Integer value, got String > parameter 'peers' expects an Array value, got String > parameter 'preferred_servers' expects an Array value, got String > parameter 'restrict' expects an Array value, got String > parameter 'interfaces' expects an Array value, got String > parameter 'interfaces_ignore' expects an Array value, got String > parameter 'servers' expects an Array value, got String > parameter 'service_enable' expects a Boolean value, got String > parameter 'service_manage' expects a Boolean value, got String > parameter 'stepout' expects an Integer value, got String > parameter 'step_tickers_file' expects a match for > Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'tinker' expects a Boolean value, got String > parameter 'tos' expects a Boolean value, got String > parameter 'tos_minclock' expects an Integer value, got String > parameter 'tos_minsane' expects an Integer value, got String > parameter 'tos_floor' expects an Integer value, got String > parameter 'tos_ceiling' expects an Integer value, got String > parameter 'tos_cohort' expects a value of type Boolean or Integer, got > String > parameter 'udlc' expects a Boolean value, got String > parameter 'udlc_stratum' expects an Integer value, got String > parameter 'ntpsigndsocket' expects a match for > Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' on node > linuxhub.az.int > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run > > Thank you for any guidance on this issue! > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
