Yes, you can definitely rig puppet apply to send reports. The trick is that 
it works like a puppet master, not like a puppet agent, so you need to 
configure the nodes to talk directly to the dashboard server; they can't go 
through the puppet master. (It also means that by default, puppet apply has 
"reports = store" and puts its run reports on the local disk in the 
reportdir. I guess you could find those and manually import them into 
dashboard, if you felt like it.)

So, you need to set the following in each node's puppet.conf:

# Use http report processor; don't bother storing reports on disk
reports = http
# Send reports to dashboard server
reporturl = https://dashboard.example.com:3000/reports/upload

And of course make sure the dashboard server's firewall and apache configs 
will allow it to accept upload requests from those nodes.

On Wednesday, February 20, 2013 7:46:11 AM UTC-6, Chris Lee wrote:
>>>
>>> Hi all, I hope somebody can help me with something.
>>>
>>> We have a rather large number of netbooted nodes that we are running 
>>> "puppet apply" via a script and a cron job every 30 minutes
>>>
>>> I was wondering if there is a way to configure puppet apply, to also 
>>> send any reports to our dashboard server that is being used for our normal 
>>> puppet clients and what would be the way to go about doing this?
>>> Currently run script runs something like this : 
>>>
>>> puppet apply --config=$PUP/puppet.conf --detailed-exitcodes --onetime 
>>> --no-daemonize $PUP/manifests/site.pp
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to