小编anl*_*ang的帖子

主机缺少主机名和/或域

我在 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]:在 0.02 秒内为 pclient.example.com 编译目录

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
> …
Run Code Online (Sandbox Code Playgroud)

domain hostname

5
推荐指数
1
解决办法
5382
查看次数

标签 统计

domain ×1

hostname ×1