summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add comment about use of rhel platform_familyrhel-platform-family-commentLamont Granquist2013-08-141-5/+8
|
* Merge branch 'OHAI-490'danielsdeleo2013-07-172-52/+9
|\
| * Disable root_group on Windowsdanielsdeleo2013-07-172-52/+9
|/ | | | | | | | | 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.
* Bump version for 7.0.0 development7.0.0.alpha.0danielsdeleo2013-07-161-1/+1
|
* Merge branch 'OHAI-412-plus'danielsdeleo2013-07-1582-2494/+2581
|\ | | | | | | | | - Fixes OHAI-412 - Fixes rspec deprecations in rspec 2.14
| * update chef plugin tests for system/plugin splitdanielsdeleo2013-07-151-2/+2
| | | | | | | | Appears to have been broken in rebase
| * include chef as a dev dependencydanielsdeleo2013-07-151-1/+2
| | | | | | | | | | Otherwise the chef plugin does not run when tests are run with `bundle exec`
| * Replace deprecated should_receive(:m).any_number_of_timesdanielsdeleo2013-07-152-18/+18
| | | | | | | | | | In Rspec 2.14.x, `should_receive(:m).any_number_of_times` is deprecated and should be replaced with just `stub(:m)`
| * replace all calls to `mock` with `double`danielsdeleo2013-07-1515-102/+102
| | | | | | | | `mock` is deprecated in RSpec 2.14.x
| * Replace all calls to `stub!` with `stub`danielsdeleo2013-07-1556-349/+349
| | | | | | | | `stub!` is deprecated as of RSpec 2.14.x.
| * Configure bundler for HTTPSdanielsdeleo2013-07-151-1/+1
| |
| * Merge branch 'OHAI-412' into OHAI-412-plusdanielsdeleo2013-07-1579-2214/+2300
| |\ |/ /
| * OHAI-412 allow attribute access via System objectsdanielsdeleo2013-07-151-0/+3
| |
| * OHAI-412: fix provides collection w/ plugin objectsdanielsdeleo2013-07-151-1/+1
| |
| * Fix ruby warnings Config => RbConfigdanielsdeleo2013-07-151-11/+11
| | | | | | | | | | | | | | | | 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.
| * Update new specs for plugin class splitdanielsdeleo2013-07-1516-272/+270
| | | | | | | | | | | | Rebased from 3967b5a3fd619dc392b8bf5dd2554d822a8fd400 to d338698f288d08379bb36611f93a3a8db7ff45f5. Fix tests added in the interim to correctly setup Ohai::System and plugin classes.
| * [OHAI-412] fix missing stub in linux kernel plugindanielsdeleo2013-07-151-0/+1
| | | | | | | | Was causing spec failures on windows
| * [OHAI-412] fix missing stubs in darwin kernel specdanielsdeleo2013-07-151-0/+2
| | | | | | | | Some popen commands weren't being stubbed so the tests fail on windows.
| * [OHAI-412] fix uptime plugins for seconds_to_human changedanielsdeleo2013-07-157-7/+7
| | | | | | | | | | | | 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.
| * [OHAI-412] Split Ohai::System responsibilites into 2 classesdanielsdeleo2013-07-1560-1967/+2049
|/
* Revert "Merge branch 'OHAI-489'"danielsdeleo2013-07-153-8/+6
| | | | | | | | | 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.
* Bump version to 6.18.0.rc.3 for next RC6.18.0.rc.3danielsdeleo2013-07-151-1/+1
|
* Merge branch 'OHAI-489'danielsdeleo2013-07-153-6/+8
|\
| * Use module functions to avoid method name conflictdanielsdeleo2013-07-153-6/+8
|/ | | | | | | | | 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.
* 6.18.0.rc.26.18.0.rc.2Bryan McLellan2013-07-051-1/+1
|
* Revert "[OHAI-339] distinguish openSUSE from SUSE Linux Enterprise"Bryan McLellan2013-07-052-17/+9
| | | | This reverts commit 45846ce59dd89b74c3b992d424a0b07d61b1f9f7.
* 6.18.0.rc.16.18.0.rc.1Bryan McLellan2013-06-261-1/+1
|
* Merge branch 'OHAI-455'danielsdeleo2013-06-262-0/+26
|\
| * Add regression test for popen4 zombie leakdanielsdeleo2013-06-261-0/+22
| |
| * Reap processes and close fds when exec failsdanielsdeleo2013-06-261-0/+4
|/ | | | Fixes OHAI-455: http://tickets.opscode.com/browse/OHAI-455
* 6.18.0.rc.06.18.0.rc.0Bryan McLellan2013-06-251-1/+1
|
* Removed an additional space and reverted the name enterprise to ↵Sander van Harmelen2013-06-251-2/+2
| | | | enterpriseenterprise. Also added a comment to inform that this is oracle's LSB "distributor ID"
* Commit related to issue OHAI-472: XenServer is recognized correctly using ↵Sander van Harmelen2013-06-251-1/+4
| | | | LSB, but is not assigned to a platform_family. It also fixes a type where 'enterprise' was typed twice in a row.
* OHAI-126: Improve file regex to handle trailing slashOHAI-126Bryan McLellan2013-06-242-2/+20
|
* [OHAI-339] distinguish openSUSE from SUSE Linux EnterpriseMartin Vidner2013-06-242-9/+17
| | | | | | | | | | | | | - 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).
* suse platform: read /etc/SuSE-release only once.Martin Vidner2013-06-242-6/+7
| | | | doing it twice is (slightly) inefficient and complicates the tests
* OHAI-387: Remove old tests for rackspace via hostname/macBryan McLellan2013-06-231-28/+0
| | | | Infamous for false positives.
* Mac address based identifier for Rackspace falsely identifies systems on CiscoTim Smith2013-06-231-17/+3
| | | | | | 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.
* OHAI-466: Try Rackspace Metadata earlyBryan McLellan2013-06-231-1/+1
| | | | This is more reliable than ancient black magic.
* OHAI-446: Add tests for rackspace detection via xenstoreBryan McLellan2013-06-231-22/+47
|
* Use vm metadata to check for rackspace providerChris Roberts2013-06-231-1/+15
|
* OHAI-445: Fallback to default HostKey pathJohn Skopis2013-06-232-21/+38
| | | | | | | | | 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.
* OHAI-445: Detect ecdsa ssh host keysMalte Swart2013-06-232-7/+29
| | | | | | | | (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.
* Merge pull request #151 from opscode/adamed-OC-5329-azureAdam Edwards2013-06-214-0/+164
|\ | | | | OHAI-419: OC-5329: Azure public ip address unavailable for knife ssh
| * specs for ohai azure plugin.kaustubh-d2013-06-211-0/+73
| |
| * azure test cases for cloud plugin.kaustubh-d2013-06-211-0/+48
| |
| * add public fqdn and vm name, put public ip in consistent format with other ↵kaustubh-d2013-06-211-2/+3
| | | | | | | | clouds.
| * azure ohai plugin to set cloud attributes from hints file.kaustubh-d2013-06-212-0/+42
|/
* Merge branch 'OHAI-426'Bryan McLellan2013-06-202-21/+41
|\
| * returns an ip even if the routing table looks incoherentLaurent Desarmes2013-06-202-21/+41
|/ | | | it mainly concerns some configurations of vserver, lxc and possibly openvz guests.