| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
|/
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| | |
- Fixes OHAI-412
- Fixes rspec deprecations in rspec 2.14
|
| |
| |
| |
| | |
Appears to have been broken in rebase
|
| |
| |
| |
| |
| | |
Otherwise the chef plugin does not run when tests are run with `bundle
exec`
|
| |
| |
| |
| |
| | |
In Rspec 2.14.x, `should_receive(:m).any_number_of_times` is deprecated
and should be replaced with just `stub(:m)`
|
| |
| |
| |
| | |
`mock` is deprecated in RSpec 2.14.x
|
| |
| |
| |
| | |
`stub!` is deprecated as of RSpec 2.14.x.
|
| | |
|
| |\
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes warnings like:
spec/unit/plugins/ruby_spec.rb:44:in `block in <top (required)>': Use
RbConfig instead of obsolete and deprecated Config.
RbConfig is available at least as far back as 1.8.7.
|
| |
| |
| |
| |
| |
| | |
Rebased from 3967b5a3fd619dc392b8bf5dd2554d822a8fd400 to
d338698f288d08379bb36611f93a3a8db7ff45f5. Fix tests added in the interim
to correctly setup Ohai::System and plugin classes.
|
| |
| |
| |
| | |
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.
|
|/ |
|
|
|
|
|
|
|
|
|
| |
This reverts commit 3d669f4cc38f4f3a32aa0a7062375c210bc480ed, reversing
changes made to d338698f288d08379bb36611f93a3a8db7ff45f5.
Commit 4286efe042ac74e2b90453a742fc6f752ab9df78 is a "hotfix" for
OHAI-489. The upcoming patch for OHAI-412 will introduce a structural
fix for the root cause of OHAI-489, making the hotfix unnecessary.
|
| |
|
|\ |
|
|/
|
|
|
|
|
|
|
| |
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 45846ce59dd89b74c3b992d424a0b07d61b1f9f7.
|
| |
|
|\ |
|
| | |
|
|/
|
|
| |
Fixes OHAI-455: http://tickets.opscode.com/browse/OHAI-455
|
| |
|
|
|
|
| |
enterpriseenterprise. Also added a comment to inform that this is oracle's LSB "distributor ID"
|
|
|
|
| |
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).
|
|
|
|
| |
doing it twice is (slightly) inefficient and complicates the tests
|
|
|
|
| |
Infamous for false positives.
|
|
|
|
|
|
| |
This causes a lot of problems in cookbooks that try to use the private
IP if the equipment is on rackspace. They end up failing if there is
no eth1 on your hardware/VMs connected to Cisco networking equipment.
|
|
|
|
| |
This is more reliable than ancient black magic.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This fixes a bug in the ssh_host_key plugin that prevented the plugin
from reading ssh_host_*_key files when a sshd_config exists.
When a sshd_config exists but the HostKey directive is not present, i.e.
using the default value, the plugin should populate the host_*_public
attributes using the default HostKey locations.
|
|
|
|
|
|
|
|
| |
(Open)SSH supports 3 types of elliptic curve keys: ecdsa-sha2-nistp256,
ecdsa-sha2-nistp384 and ecdsa-sha2-nistp521. To be consistent with the file
name and the normal abbreviation the key itself is stored as
[:keys][:ssh][:host_ecdsa_public]. [:keys][:ssh][:host_ecdsa_type] specify
the subtype of ecdsa. This field is needed, to generate known_host files.
|
|\
| |
| | |
OHAI-419: OC-5329: Azure public ip address unavailable for knife ssh
|
| | |
|
| | |
|
| |
| |
| |
| | |
clouds.
|
|/ |
|
|\ |
|
|/
|
|
| |
it mainly concerns some configurations of vserver, lxc and possibly openvz guests.
|