Puppet agent --test throwing error on cleint installed through foreman

Hi,

I have installed Ubuntu 16.04 on client system using foreman, when I run
puppet agent --test on it is throwing an error.

"Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional
resources using 'eval_generate': Failed to open TCP connection to
mydomain.com:8140 (getaddrinfo: Name or service not known)"Thanks.

> From: "Akash Kaveti" <akashkaveti@gmail.com>
> To: "Foreman users" <foreman-users@googlegroups.com>
> Sent: Tuesday, September 20, 2016 10:07:43 AM
> Subject: [foreman-users] Puppet agent --test throwing error on cleint installed through foreman
>
> Hi,
>
> I have installed Ubuntu 16.04 on client system using foreman, when I run
> puppet agent --test on it is throwing an error.
>
>
>
>
> "Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional
> resources using 'eval_generate': Failed to open TCP connection to
> mydomain.com:8140 (getaddrinfo: Name or service not known)"Thanks.

Your client can't resolve mydomain.com, try to fix DNS or add it to /etc/hosts.

··· ----- Original Message -----


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.