There are two methods for installation: 1) From the non-existent tarball/installation script I intend to create, or 2) From source using git clone
Prerequisites:
Method 1: Installing from Tarball download
<to be="" added="" later=""></to>
Method 2: Installing from source using git clone
a. Clone the source - git clone git://git.code.sf.net/p/puppetreports/code puppetreports-code
This will provide two folders, web and puppet. We'll configure the web portion first.
b. Move the contents of web/ to your web server document root
c.* Create the database
- mysqladmin create PuppetReports
- mysql PuppetReports < puppetReports.sql
d. Configure document root/content/config.php
A few recommendations:
Now to configure puppet.
This is mostly left up to you since everyone's environments are different. If you require help, post in the forums and I can provide further instruction.
The puppet directory contains a facts directory, a modules directory, and a site.pp. The facts directory has the file envreport.rb. If you have multiple environments configured and it's important to see this in the web interface, I recommend pushing this fact out.
The site.pp contains the minimum configuration required to get this reporting system working on clients. This needs to be merged with your site.pp.
The modules directory contains the module that needs to be added to your own modules directory.
Additional Configuration Items
In puppet/modules/PuppetReporting/files/alertcron.php:
In web/content/scripts:
I promise I'll make this easier eventually.
One last configuration note
Jobs/Alerts need to be managed manually right now and the concept isn't fully implemented. So, any alert you want to add will need to be done via an external script and updates to the database information needs to be done manually in table "alerts". Note that some jobs are configured by default, and you'll need to update the email address.
mysql> update alerts set emailTo="UserOrGroup@mydomain.loc";
Again, I'll make this easier eventually.