puppetlabs/puppet — pull request #650 by joshcooper (2012-04-10 21:37:36+00:00)
Title: Don't require eventlog gem on non-Windows platforms

Commit `8d2ff89` attempted to require the windows eventlog gem within a
`:if => Puppet.features.microsoft_windows?` describe block, but I forgot
that requires within the block are still evaluated on non-Windows
platform, although the tests themselves won't be run.

This commit just conditionally requires the gem.