Fixes OHAI-490: http://tickets.opscode.com/browse/OHAI-490 Implementation of root_group for windows has been found to have poor performance when the host is joined to an AD domain. Opting to disable on Windows since large changes will be required for a performant implementation.
In Rspec 2.14.x, `should_receive(:m).any_number_of_times` is deprecated and should be replaced with just `stub(:m)`
Was causing spec failures on windows
Some popen commands weren't being stubbed so the tests fail on windows.
Previously there was a _seconds_to_human method defined by the top level uptime plugin, but this was moved to a mixin and the leading underscore removed from the method name.
Fixes OHAI-489: http://tickets.opscode.com/browse/OHAI-489 Fixes conflict over method names `fetch_metadata` and `http_client` in the Ohai::System instance by modifying the GCE mixin to define these as module functions and changing the plugin to call them as module functions.
This reverts commit 45846ce.
…priseenterprise. Also added a comment to inform that this is oracle's LSB "distributor ID"
…sing LSB, but is not assigned to a platform_family. It also fixes a type where 'enterprise' was typed twice in a row.
- platform_family: stays "suse" for both - platform: SLE, being the more stable platform, gets to keep platform "suse" openSUSE is now platform "opensuse" - platform_version: is "MAJOR.MINOR" even for SLE which officially is versioned as "MAJOR [SP MINOR]" I considered to change the platform only for *future* openSUSE versions (12.3 or later) but decided against it: "suse" >= 12 would then conflict with a future SLE 12 (scheduled for 2014).