Puppet Reports

Version 2 (Ohad Levy, 09/15/2009 09:16 am)

1 2 Ohad Levy
h1. Puppet Reports integration 
2 2 Ohad Levy
3 1
This feature is applicable only to the development version of Foreman, and is planned to be part of version 0.1-1 when it comes out.
4 1
if you used git, make sure you update your source as described in [[Installation_instructions#Future-Updates]]
5 1
6 2 Ohad Levy
h2. Overview
7 1
8 1
Foreman uses a custom puppet reports (similar to tagmail or store) which simply upload the puppet report to Foreman.
9 1
This enables you to see the reports through the web interface.
10 1
11 2 Ohad Levy
h2. Configuration
12 1
13 1
# copy *extras/puppet/reports/foreman.rb* to your report directory - e.g. /usr/lib/ruby/1.8/puppet/reports/
14 1
# open the new file with your favorite editor
15 1
# edit the URL (unless you have a DNS alias for foreman already) to point to foreman.
16 1
# add this report in your puppetmaster reports - e.g, in your puppet.conf add:
17 1
*reports=log, foreman*
18 1
# restart your puppetmaster
19 1
20 1
You should start seeing reports coming in under the reports link.
21 1
22 2 Ohad Levy
h2. Todo:
23 1
24 1
# enable the web interface to show more status - e.g. a dashboard
25 1
# Associate Users with Hosts, this will allow to send notifications (e.g. email) to the right users
26 1
# Send out a summary of all of yours hosts status per day
27 1
# Delete old reports