Hi again,
I'm trying to configure puppetview
(http://www.devco.net/pubwiki/Puppet/PuppetView) cause is one
interesting thing I'd like to evaluate before moving to puppet.
I'm following the above link but now I have some problems when sending
reports from client to server.
It says that I must modify puppetmaster behaviour with:
[puppetmasterd]
reports = rrdgraph,store,true
reportdir = /tmp/puppet/
rrddir = /var/www/html/rdd/
rrdinterval = 60
rrdgraph = true
in /etc/puppet/puppet.conf (I don't have that file, but I have
puppetd.conf, is it a typo?)
Then, I must send rdd logs from client to server, for that, I'm
following http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting
I've modified my client's /etc/puppet/puppetd.conf with:
[puppetd]
report = true
so now looks like:
[EMAIL PROTECTED] ~]# grep . /etc/puppet/puppetd.conf |grep -v "#"
[puppet]
vardir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
[puppetd]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
report = true
and I've tried to run puppetd in client side like:
[EMAIL PROTECTED] puppet]# puppetd --server gridinstall01.pic.es --waitforcert
60 --test
notice: Ignoring cache
info: Caching configuration at /var/lib/puppet/localconfig.yaml
notice: Starting configuration run
notice: //default/repos/Exec[/usr/bin/yum -y update]/returns: executed
successfully
info: Sent transaction report in 0.07 seconds
notice: Finished configuration run in 1.55 seconds
[EMAIL PROTECTED] puppet]# puppetd --server gridinstall01.pic.es --waitforcert
60 --test --report
notice: Ignoring cache
info: Caching configuration at /var/lib/puppet/localconfig.yaml
notice: Starting configuration run
notice: //default/repos/Exec[/usr/bin/yum -y update]/returns: executed
successfully
info: Sent transaction report in 0.07 seconds
notice: Finished configuration run in 1.55 seconds
or just:
[EMAIL PROTECTED] ~]# puppetd --server gridinstall01.pic.es
or
[EMAIL PROTECTED] ~]# puppetd --server gridinstall01.pic.es --report
And puppet configs the node:
Nov 5 14:53:20 td234 puppetd[23578]: Starting Puppet client version 0.22.4
Nov 5 14:53:21 td234 puppetd[23578]: Starting configuration run
Nov 5 14:53:21 td234 puppetd[23578]: Finished configuration run in 0.31 seconds
But server sees nothing under /tmp/report/ and client neither
under /var/log/puppet/
[EMAIL PROTECTED] ~]# ls /var/log/puppet/
[EMAIL PROTECTED] ~]#
So, what am I missing in the conf? Reports and Reporting seems quiet
easy to config!
TIA,
Arnau
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---