Hello all,
I''m running puppet for the first ime. I''ve finished the
install but
I''m stuck at the certificate part.
The puppet master (0.24.4-3) is running on Ubuntu Lenny and the puppet
client (0.24.8-4.el5) is running on CentOS 5.3.
After the install, from the client side, I''ve run:
puppetd --server puppetmaster.domain.com --waitforcert 60 --test
On the client, I''ve run:
puppetca --list
puppetca --sign puppetclient.domain.com
Something isn''t working and I''m not sure what. The port 8140
is open
on both sides.
When I checked the log on the puppetclient, I see the following error
after starting the puppet.
puppetd[3819]: Could not retrieve catalog: Could not find default node
or by name with ''puppetclient.domain.com, puppetclient'' on
node
puppetclient.domain.com
Puppet Server''s puppet.conf file:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=false
server=puppetmaster.domain.com
[puppetmasterd]
templatedir=/var/lib/puppet/templates
certname=puppetmaster.domain.com
Puppet Server''s site.pp file:
# Create "/tmp/testfile" if it doesn''t exist.
class test_class {
file { "/tmp/testfile":
ensure => present,
mode => 644,
owner => root,
group => root
}
}
# tell puppet on which client to run the class
node pclient {
include test_class
}
Client''s puppet.conf file:
[main]
# Where Puppet stores dynamic and growing data.
# The default value is ''/var/puppet''.
vardir = /var/lib/puppet
pluginsync=false
# The Puppet log directory.
# The default value is ''$vardir/log''.
logdir = /var/log/puppet
# Where Puppet PID files are kept.
# The default value is ''$vardir/run''.
rundir = /var/run/puppet
# Where SSL certificates are kept.
# The default value is ''$confdir/ssl''.
ssldir = $vardir/ssl
[puppetd]
# The file in which puppetd stores a list of the classes
# associated with the retrieved configuratiion. Can be loaded in
# the separate ``puppet`` executable using the ``--loadclasses``
# option.
# The default value is ''$confdir/classes.txt''.
classfile = $vardir/classes.txt
certname = puppetclient.domain.com
server = puppetmaster.domain.com
# Where puppetd caches the local configuration. An
# extension indicating the cache format is added automatically.
# The default value is ''$confdir/localconfig''.
localconfig = $vardir/localconfig
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.