I think the problem happens when you configure agents to send reports. 

In this case when you run the agent in the console the output is not cached 
just showed and the log is empty so the report is also empty.

# puppet agent --verbose --trace --no-daemonize

My output is...

notice: Starting Puppet client version 2.6.2
info: Retrieving plugin
info: Caching catalog for ccsdtfdempup01.dem.int
info: Applying configuration version '1330364775'
notice: /Stage[main]/Clamav/Service[clamav-freshclam]/ensure: ensure 
changed 'stopped' to 'running'
notice: Detected operating system major version: 6
notice: /Stage[main]/Local-repository/Notify[Detected operating system 
major version: 6]/message: defined 'message' as 'Detected operating system 
major version: 6'
notice: /Stage[main]/Zabbix-agent/Service[zabbix-agent]/ensure: ensure 
changed 'stopped' to 'running'
notice: /Stage[main]/Grub/Exec[/root/puppet.grub.sh]/returns: executed 
successfully
notice: No custom file, applying default files/etc/security/limits.conf
notice: /Stage[main]/Limites/Notify[No custom file, applying default 
files/etc/security/limits.conf]/message: defined 'message' as 'No custom 
file, applying default files/etc/security/limits.conf'
notice: /Stage[main]/Tape-backup/Package[sendEmail]/ensure: ensure changed 
'purged' to 'present'
notice: Finished catalog run in 4.15 seconds
/usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread'
/usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
/usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
/usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
/usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
/usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
/usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
/usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
/usr/lib/ruby/1.8/net/http.rb:2017:in `read_new'
/usr/lib/ruby/1.8/net/http.rb:1051:in `request'
/usr/lib/ruby/1.8/net/http.rb:1037:in `request'
/usr/lib/ruby/1.8/net/http.rb:543:in `start'
/usr/lib/ruby/1.8/net/http.rb:1035:in `request'
/usr/lib/ruby/1.8/net/http.rb:857:in `put'
/usr/lib/ruby/1.8/puppet/indirector/rest.rb:90:in `save'
/usr/lib/ruby/1.8/puppet/indirector/indirection.rb:253:in `save'
/usr/lib/ruby/1.8/puppet/indirector.rb:64:in `save'
/usr/lib/ruby/1.8/puppet/configurer.rb:178:in `send_report'
/usr/lib/ruby/1.8/puppet/configurer.rb:172:in `run'
/usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/1.8/puppet/agent.rb:103:in `with_client'
/usr/lib/ruby/1.8/puppet/agent.rb:37:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:171:in `call'
/usr/lib/ruby/1.8/puppet/application.rb:171:in `controlled_run'
/usr/lib/ruby/1.8/puppet/agent.rb:35:in `run'
/usr/lib/ruby/1.8/puppet/agent.rb:78:in `start'
/usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:95:in `call'
/usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:95:in 
`__signal__'
/usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:95:in `each'
/usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:95:in 
`__signal__'
(eval):2:in `signal'
/usr/lib/ruby/1.8/puppet/external/event-loop/event-loop.rb:317:in 
`sound_alarm'
/usr/lib/ruby/1.8/puppet/agent.rb:82:in `start'
/usr/lib/ruby/1.8/puppet/daemon.rb:125:in `start'
/usr/lib/ruby/1.8/puppet/application/agent.rb:132:in `main'
/usr/lib/ruby/1.8/puppet/application/agent.rb:89:in `run_command'
/usr/lib/ruby/1.8/puppet/application.rb:287:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:393:in `exit_on_fail'
/usr/lib/ruby/1.8/puppet/application.rb:287:in `run'
/usr/lib/ruby/1.8/puppet/util/command_line.rb:55:in `execute'
/usr/bin/puppet:4
err: Could not send report: end of file reached

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/qVZNPtNfGeQJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to