summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reports
Commit message (Collapse)AuthorAgeFilesLines
* Fix for ticket #2639 (Puppet[:user]/Puppet[:group] vs. 'service')Markus Roberts2009-09-222-3/+3
| | | | | | | | | | Internally the service user & group should only be referenced by the place-holder string 'service' which is replaced with the actual user or group as needed at the puppet/OS border. This patch corrects to places in reports where Puppet[:user] and Puupet[:group] were being used instead. Signed-off-by: Markus Roberts <Markus@reality.com>
* FIXES 2616: Remove sync.syncronize and Puppet.infoSteven Jenkins2009-09-201-16/+5
|
* Removed extra whitespace from end of linesIan Taylor2009-06-063-15/+15
|
* Fixed #1849 - Ruby 1.9 portability: `when' doesn't like colons, replace with ↵James Turnbull2009-02-261-5/+5
| | | | semicolons
* Fixing all of the test/ tests I broke in previous dev.Luke Kanies2008-12-181-2/+2
| | | | | | | | | Most of these are straightforward changes to the tests, but a couple required small refactorings (e.g., References can now be created with Puppet::Type instances, and they know how to extract the type/title from them). Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #1794 - returning sync when it is already initializedLuke Kanies2008-12-081-0/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Hopefully fixing #1703 - using a mutex around the sending of the tagmailsLuke Kanies2008-12-021-6/+14
| | | | | | | It's not really possible to test that this fixes the problem, and I can't even reproduce it, but hopefully this will work. Signed-off-by: Luke Kanies <luke@madstop.com>
* Ensure that we consistently use either string #{} interpolation or String.%Daniel Pittman2008-08-011-2/+3
| | | | | | | interpolation, not both, to avoid issues where a #{} interpolated value contains a % character. Signed-off-by: Daniel Pittman <daniel@rimspace.net>
* Updates to rrdgraph documentationJames Turnbull2008-04-011-2/+4
|
* Removing a Settings.use that is unnecessaryLuke Kanies2008-03-171-2/+0
|
* Updated tagmail documentation fixing ticket #996James Turnbull2008-01-101-0/+4
|
* Fixes ticket #993 - tagmail with smtpserver specified does not add ↵James Turnbull2008-01-091-1/+8
| | | | To/From/Subject header
* Not using the main section when running the store report, since it is ↵Luke Kanies2007-12-111-1/+1
| | | | unneeded and can cause conflicts within puppetmasterd
* fix #815: add :main to all use() for :reporting and :metricsDavid Schmitt2007-11-091-1/+1
|
* Translating the report handler to an indirected model.Luke Kanies2007-10-134-9/+7
| | | | | | | | | | | I've provided backward compatibility with the old handler. The only terminus type that currently exists for reports is the 'code' terminus, which is used to process reports in the style of the old handler. At some point, we should likely switch at least some of these report types (e.g., 'store') to terminus types.
* Removing the Id tags from all of the filesLuke Kanies2007-10-034-4/+0
|
* Renaming the 'Puppet::Util::Config' class toLuke Kanies2007-09-223-4/+4
| | | | | | | 'Puppet::Util::Settings'. This is to clear up confusion caused by the fact that we now have a 'Configuration' class to model host configurations, or any set of resources as a "configuration".
* This is basically another intermediate commit. I feel likeLuke Kanies2007-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | I've gone too far down the rabbit hole to turn back now, but the code is clearly getting more centralized around the Configuration class, which is the goal. Things are currently a bit muddy between recursion, dynamic resource generation, transactions, and the configuration, and I don't expect to be able to clear it up much until we rewrite all of the tests for the Transaction class, since that is when we'll actually be setting its behaviour. At this point, Files (which are currently the only resources that generate other resources) are responsible for adding their edges to the relationship graph. This puts them knowing more than I would like about how the relationship graph works, but it'll have to do for now. There are still failing tests, but files seem to work again. Now to go through the rest of the tests and make them work.
* Updating rrdgraph documentation with a pointer to the new rrd package.luke2007-06-181-3/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2603 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing the method to check for hostdir writability in the rrdgraph reportluke2007-05-251-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2534 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding more detail to the per-host reports dirs, since it was not setting ↵luke2007-05-251-3/+3
| | | | | | mode or ownership. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2532 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the time-cleaning in the rrdgraph reportluke2007-05-061-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2465 980ebf18-57e1-0310-9a29-db15c13687c0
* Consolidating all of the configuration parameter declarations into ↵luke2007-05-041-0/+3
| | | | | | configuration, at least partially just because then the docs for each parameter have to be a bit better. Also, I have gotten rid of the "puppet" section, replacing it with "main", and changed, added, or removed a couple of other sections. In general, we should now prefer more sections, rather than fewer. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2463 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a --summarize option, to get a transaction summaryluke2007-05-041-0/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2459 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bug in the tests introduced a while back when I switched to using ↵luke2007-04-301-1/+1
| | | | | | "generate_report" git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2438 980ebf18-57e1-0310-9a29-db15c13687c0
* Translating all of the docs except the type docs to RSTluke2007-04-232-3/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2406 980ebf18-57e1-0310-9a29-db15c13687c0
* Enhancing the report docs a bitluke2007-03-292-3/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2367 980ebf18-57e1-0310-9a29-db15c13687c0
* Clarifying that the ruby RRD support is provided by a binary libraryluke2007-03-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2282 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the webserver_portability branch from version 2182 to version 2258.luke2007-03-064-15/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2259 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #493.luke2007-02-111-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2184 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving all of the client and server code into a single network/ directory. ↵luke2007-02-084-4/+4
| | | | | | In other words, more code structure cleanup. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2179 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving some of the stand-alone classes into the util/ subdirectory, to clean ↵luke2007-02-073-3/+3
| | | | | | up the top-level namespace a bit. This is a lot of file modifications, but most of them just change class names and file paths. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2178 980ebf18-57e1-0310-9a29-db15c13687c0
* splitting the tagmail report into multiple methods and adding test codeluke2007-01-301-46/+64
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2122 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing documentation references to refer to the wikiluke2007-01-261-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2098 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing tests so they now include descriptions with all config options, which ↵luke2007-01-041-0/+1
| | | | | | is now required. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2038 980ebf18-57e1-0310-9a29-db15c13687c0
* I have not yet finished testing, but most of the providers now successfully ↵luke2006-12-281-9/+0
| | | | | | pass arrays to execute() instead of strings, which means that the vast majority of execution problems are now gone. I will finish testing tomorrow, hopefully, and will also hopefully be able to verify that the execution-related bugs are fixed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1979 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a simple report that just duplicates client logs onto the serverluke2006-11-091-0/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1847 980ebf18-57e1-0310-9a29-db15c13687c0
* Small fixes here and there. The rails changes needs to be pushed through ↵luke2006-11-091-0/+2
| | | | | | the collection code, so I am committing so Blake can take a look at that. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1844 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing rrdgraph report (as marked in #334); also, expanding the docs on all ↵luke2006-11-093-18/+126
| | | | | | of the existing reports. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1839 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the code over from the oscar branch. I will now be doing all ↵luke2006-11-081-1/+1
| | | | | | development in the trunk again, except for larger changes, which will still get their own branch. This is a merge of the changes from revision 1826 to revision 1834. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1835 980ebf18-57e1-0310-9a29-db15c13687c0
* Another round of bugfixing, including finding out that the tagmail report ↵luke2006-10-181-1/+3
| | | | | | was leaving zombie processes lying around git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1816 980ebf18-57e1-0310-9a29-db15c13687c0
* Another round of bug-fixes in preparation for 0.20.0luke2006-10-181-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1813 980ebf18-57e1-0310-9a29-db15c13687c0
* Refactoring reporting. Reports are now modules instead of simple methods.luke2006-10-073-112/+186
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1746 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the rrdgraph report so that it creates a separate rrd directory for ↵luke2006-10-051-1/+15
| | | | | | each host git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1735 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing error in tagmail when there are no messages to reportluke2006-09-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1655 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #278, opened by Digant, with patch.luke2006-09-211-11/+35
| | | | | | | | Tagmail now supports negating tags with '!'. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1645 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #292 (A bug in tagmail that causes any tag other than 'all' to fail)luke2006-09-201-0/+5
| | | | | | | | | | | | | | | and #277 (tagmail report missing To: header). #292 was weird because the messages just didn't have the tags at all. The problem was that states didn't have tags, yet states were the source of nearly all messages. So, I added tags to the states, and included the state name in the tag list. Also, types were not including the type name in the tag list, so I added that. And, of course, a few unit tests to check it all. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1638 980ebf18-57e1-0310-9a29-db15c13687c0
* Using the "trace" configuration parameter to determine whether a stack trace ↵luke2006-09-151-1/+1
| | | | | | should be printed, rather than just using "debug". I added the param a little while ago and was using it internally in Puppet::DevError, but I just now went through the whole configuration and switched to using it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1613 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing tagmail config processing so it fails when appropriateluke2006-08-291-3/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1509 980ebf18-57e1-0310-9a29-db15c13687c0
* small fixes towards 0.18.2luke2006-07-041-30/+36
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1362 980ebf18-57e1-0310-9a29-db15c13687c0