summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge branch 'OHAI-279'Bryan McLellan2013-06-202-0/+63
|\
| * add cpu counts for darwinNathan L Smith2013-06-202-0/+63
|/
* [OHAI-430] - detect LinuxMint w/ LSBjtimberman2013-06-201-0/+3
|
* OHAI-433: Update tests for reduced network logging levelBryan McLellan2013-06-201-8/+12
|
* change log level info to debugsawanoboly2013-06-201-3/+3
|
* Merge branch 'OHAI-444'Bryan McLellan2013-06-204-0/+307
|\
| * specs for gceRanjib Dey2013-06-201-0/+130
| |
| * no need for readonly response,Ranjib Dey2013-06-201-1/+1
| |
| * no userdata metadata field is presentRanjib Dey2013-06-201-1/+0
| |
| * this will be easy to mock while testingRanjib Dey2013-06-201-1/+1
| |
| * add google compute engine as cloud providerRanjib Dey2013-06-203-0/+178
|/
* Merge branch 'OHAI-450'Bryan McLellan2013-06-202-3/+12
|\
| * adding support for GCEL which is kinda ubuntuRanjib Dey2013-06-202-3/+12
|/
* OHAI-428: Limit root_group unit tests to their own platformBryan McLellan2013-06-181-2/+2
|
* Merge branch 'OHAI-428'Bryan McLellan2013-06-182-0/+161
|\
| * add root_group pluginJoseph Anthony Pasquale Holsten2013-06-172-0/+161
|/
* Merge branch 'OHAI-434'Bryan McLellan2013-04-154-53/+189
|\
| * OHAI-434: Raise error on non-200 response while retrieving EC2 metadataMike Javorski2013-04-122-1/+15
| |
| * OHAI-434: Order metadata versions with basic String/Array#sortMike Javorski2013-04-122-1/+4
| |
| * OHAI-434: Raise error when no supported EC2 metadata version is foundMike Javorski2013-04-121-0/+3
| |
| * OHAI-434: Raise error on non-200 response when determining EC2 metadata versionMike Javorski2013-04-121-1/+3
| |
| * WhitespaceMike Javorski2013-04-121-10/+10
| |
| * OHAI-434: Add unit tests for Ec2Metadata#best_api_versionBryan McLellan2013-04-121-0/+72
| |
| * Revert db97a05 "Extend EC2 mixin specs..." as btm has added an additional spec.Mike Javorski2013-04-121-8/+1
| |
| * Extend EC2 mixin specs to ensure that proper metadata API is selectedMike Javorski2013-04-121-1/+8
| |
| * Handle non-200 response codes in response to EC2 best_api_version queryMike Javorski2013-04-121-0/+1
| |
| * Add a class comment explaining the multi-version retrieval logicMike Javorski2013-04-101-0/+16
| |
| * [#OHAI-434] Detect and use the latest (recognized-working) EC2 metadata APIMike Javorski2013-02-063-20/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | Supported API's are determined at instance launch and are not extended over the life of the instance. As such the current code - which makes an assumption of a specific version - will fail depending on the age of the instance. This new code probes the instance metadata endpoint for available versions, determines the most advanced version known to work and executes the metadata retrieval using that version. If no compatible version is found, the plugin returns an empty hash.
| * Add proper response codes to http request mocksMike Javorski2013-02-062-33/+33
|/
* Bump to 6.16.0 for final release6.16.0danielsdeleo2013-01-171-1/+1
|
* Use RUBY_PLATFORM instead of Gem::Specification.platformBryan McLellan2012-12-141-1/+4
|
* Update deprecated rake/gempackagetaskBryan McLellan2012-12-141-2/+2
|
* 6.16.0.beta.2Bryan McLellan2012-12-121-1/+1
|