summaryrefslogtreecommitdiffstats
path: root/spec/unit/util/log.rb
Commit message (Collapse)AuthorAgeFilesLines
* Logs now assume resource params have metadataLuke Kanies2009-08-031-7/+0
| | | | | | | | | | | We were previously not assuming they had it, because I figured there were just a couple that didn't. On closer inspection, none of them did. The previous commit fixed that, so this commit fixes the assumption. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixes #2483 - Log only copies metadata from RAL objectsLuke Kanies2009-08-041-7/+22
| | | | | | | | | | | | | | | | | | | We were previously trying to figure out what data was available based on what methods existed, but that caught a different method profile from modules. This fixes it so we only look for this data from Puppet::Type or Puppet::Parameter instances. I had to add the ability to skip data that's not available, since File's 'ensure' parameter doesn't have 'file' data, I assume because of the metaprogramming we do around the 'file' value for 'ensure'. It's a workaround for now, and there's a test in there to verify it, anyway. Signed-off-by: Luke Kanies <luke@madstop.com>
* Configuration version information is now in logsLuke Kanies2009-08-011-0/+29
| | | | | | | | | | The log instances have file, line, and config version information, although it's not currently printed. It's available in the reports, and you can strip it out with your own processors. Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding a 'close_all' method to the Log class.Luke Kanies2009-02-061-0/+8
| | | | | | This moves the code out of Daemon. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #1698 - all logs again show up in the report.Luke Kanies2008-10-281-46/+0
|
* Fixing #1089 - Log messages are now tagged with the log level,Luke Kanies2008-10-041-3/+4
| | | | | | making it easier to match messages in the 'tagmail' report. Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding rspec tests for the Puppet::Util::Log class.Luke Kanies2008-10-041-0/+152
Also using Puppet::Util::Tagging to handle the tagging, rather than custom methods. Signed-off-by: Luke Kanies <luke@madstop.com>