主机缺少主机名和/或域

前端之家收集整理的这篇文章主要介绍了主机缺少主机名和/或域前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在ubuntu 10.04上使用puppet 0.25.4,当安装puppet时,我得到了下面的信息:
11月29日10:30:30 puppet puppetmasterd [4422]:主机缺少主机名和/或域名:pclient.example.com

11月29日10:30:30 puppet puppetmasterd [4422]:pclient.example.com的编译目录,0.02秒

i dont know how to fix it,who can help me 

thank you !

my configuration :
I use apt-get to install the puppet,so some configuration have been fixed 
puppet.conf on client :

> [main] server=puppet.example.com
> logdir=/var/log/puppet
> vardir=/var/lib/puppet
> ssldir=/var/lib/puppet/ssl
> rundir=/var/run/puppet
> factpath=$vardir/lib/facter
> pluginsync=false
> templatedir=$confdir/templates
> prerun_command=/etc/puppet/etckeeper-commit-pre
> postrun_command=/etc/puppet/etckeeper-commit-post
> certname=pclient.example.com
> node_name=cert [puppetd]
> runinterval=30

服务器上的puppet.conf:

> [main] logdir=/var/log/puppet
> vardir=/var/lib/puppet
> ssldir=/var/lib/puppet/ssl
> rundir=/var/run/puppet
> factpath=$vardir/lib/facter
> pluginsync=true
> templatedir=$confdir/templates
> prerun_command=/etc/puppet/etckeeper-commit-pre
> postrun_command=/etc/puppet/etckeeper-commit-post

我使用site.pp上的默认节点

我是傀儡的新手,所以我不知道这些问题的原因!

再次感谢你!!!

解决方法

Puppet从/etc/resolv.conf中的域声明中获取它的默认域.即使被注释掉,它也会从最后一个域名声明中获取它.

猜你在找的HTML相关文章