HomePhorge

(#12392) Don't require eventlog gem on non-Windows platforms
100f42c2e7cdUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#12392) 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.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUdce623c007e0: Merge branch 'ticket/2.7.x/12392-eventlog' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU100f42c2e7cd: (#12392) Don't require eventlog gem on non-Windows platforms (authored by Josh Cooper <josh@puppetlabs.com>).Apr 10 2012, 11:36 PM