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