# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 10.18.5.106 server.test server 10.18.5.107 client.test client
# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 10.18.5.106 server.test server 10.18.5.107 client.test client
# /etc/init.d/puppet restart Stopping puppet: [ OK ] Starting puppet: [ OK ] # puppetd --server server.puppet Could not prepare for execution: Could not create PID file: /var/run/puppet/puppetd.pid
puppet客戶端連接puppet伺服器端出現如上提示。
# ls -lh /var/run/puppet/puppetd.pid -rw-r--r-- 1 root root 4 Nov 26 12:50 /var/run/puppet/puppetd.pid