Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to kernel version to identify Gentoo versionsgentoo | Tim Smith | 2016-05-27 | 2 | -2/+10 |
| | | | | | | We're looking at the gentoo release file to identify the version currently which is 2.2. It's been 2.2 for years since that's just the Gentoo Base System version which never changes. We should do what we do on Arch and use the kernel version string. This is a copy / paste of that code. Signed-off-by: Tim Smith <tsmith@chef.io> | ||||
* | Merge pull request #816 from criteo-forks/linux_kernel_modules | Tim Smith | 2016-05-19 | 2 | -0/+31 |
|\ | | | | | Adding version for linux module when avalaible | ||||
| * | Adding spec test for OHAI linux::kernel::modules | Jeremy MAURO | 2016-05-19 | 1 | -0/+26 |
| | | |||||
| * | Adding kernel module version for linux | Jeremy MAURO | 2016-05-19 | 1 | -0/+5 |
|/ | |||||
* | Merge pull request #824 from chef/8.16.0v8.16.0 | Tim Smith | 2016-05-12 | 5 | -15/+28 |
|\ | | | | | Release 8.16.0 | ||||
| * | Release 8.16.08.16.0 | Tim Smith | 2016-05-11 | 5 | -15/+28 |
|/ | | | | Time to get this into our nightlies | ||||
* | Merge pull request #818 from chef/openstack | Tim Smith | 2016-05-11 | 3 | -116/+124 |
|\ | | | | | Properly poll Openstack detection + other Openstack improvements | ||||
| * | Use the mixin variable for the metadata server | Tim Smith | 2016-05-10 | 1 | -1/+1 |
| | | |||||
| * | Allow setting dreamhost as the provider in the cloud plugins | Tim Smith | 2016-05-10 | 2 | -2/+2 |
| | | |||||
| * | Move metadata attributes back to openstack namespace | Tim Smith | 2016-05-10 | 4 | -48/+43 |
| | | | | | | | | | | This reverts nesting the attributes in openstack['metadata']. This matches what we do in other clouds | ||||
| * | Fix typo in comment | Tim Smith | 2016-05-10 | 1 | -1/+1 |
| | | |||||
| * | Detect Dreamhost DreamCompute | Tim Smith | 2016-05-09 | 2 | -5/+25 |
| | | |||||
| * | Set metadata to {} not nil if it doesn't respond | Tim Smith | 2016-05-09 | 2 | -7/+6 |
| | | | | | | | | | | This makes it easier to write recipes without being super defensive in your code | ||||
| * | Update the specs for the updated plugin | Tim Smith | 2016-05-09 | 2 | -83/+72 |
| | | | | | | | | Test DMI data path, remove openstack specific metadata since we're not gathering this at the moment. | ||||
| * | Properly poll Openstack detection + other Openstack improvements | Tim Smith | 2016-05-09 | 3 | -48/+53 |
|/ | | | | | | | | | The existing Openstack metadata logic failed as it was hardcoded to use metadata from 2013 that doesn't seem to exist in standard installs. Instead lets use the logic in the EC2 metadata mixin to find the latest version we support. Wrap metadata fetching around socket connection check from the EC2 metadata plugin. This prevents hung Ohai runs on providers that don't support the metadata endpoint Grab the Openstack data correctly in the Cloud plugins Detect a system as being on Openstack based on DMI data Remove HP cloud logic since that's dead Add debug logging so we can follow what's happening in the logs better | ||||
* | Merge pull request #812 from chef/bhyve | Tim Smith | 2016-04-25 | 2 | -0/+21 |
|\ | | | | | Add detection of bhyve guests running Linux/*BSD | ||||
| * | Add spec for bhyvebhyve | Tim Smith | 2016-04-22 | 1 | -0/+19 |
| | | | | | | | | Thanks to twitter I was able to get dmidecode output from a bhyve guest | ||||
| * | Merge branch 'travis-altiscale-patch-1' into bhyve | Tim Smith | 2016-04-22 | 1 | -0/+2 |
| |\ | |||||
| | * | Merge branch 'patch-1' of https://github.com/travis-altiscale/ohai into ↵ | Tim Smith | 2016-04-22 | 1 | -0/+2 |
| | |\ | |/ / | | | | | | | travis-altiscale-patch-1 | ||||
| | * | Add bhyve / xhyve support | Travis Thompson | 2016-03-30 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately xhyve reports as bhyve right now and I can't find a way to detect xhyve over bhyve, but I mostly care about it being detected as a guest. ``` # ohai virtualization { "systems": { "bhyve": "guest" }, "system": "bhyve", "role": "guest" } ``` | ||||
* | | | Merge pull request #813 from glensc/patch-1 | Thom May | 2016-04-25 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Update packages plugin to support PLD Linux as an RPM distro | ||||
| * | | | Update packages.rb | Elan Ruusamäe | 2016-04-23 | 1 | -1/+1 |
| | | | | | | | | | | | | include pld linux as platform with rpm support | ||||
* | | | | Merge pull request #811 from chef/faster_specs | Thom May | 2016-04-25 | 1 | -0/+1 |
|\ \ \ \ | | | | | | | | | | | Prevent parallels spec from checking the filesystem | ||||
| * | | | | Prevent parallels spec from checking the filesystemfaster_specs | Tim Smith | 2016-04-22 | 1 | -0/+1 |
| | |/ / | |/| | | | | | | | | | | | | | | This spec was taking 1.8 secs since it was looking for this binary in all the specs. Now it takes .282 secs. | ||||
* | | | | Merge pull request #810 from chef/logging | Thom May | 2016-04-25 | 13 | -45/+45 |
|\ \ \ \ | |_|/ / |/| | | | Consistent plugin debug logging | ||||
| * | | | Consistent plugin debug logging | Tim Smith | 2016-04-22 | 13 | -45/+45 |
| |/ / | | | | | | | | | | This makes it a lot easier to read things | ||||
* | | | Merge pull request #808 from chef/plugin_path | Tim Smith | 2016-04-22 | 5 | -1/+20 |
|\ \ \ | |/ / |/| | | Extra debug logging and error handling in plugin loading | ||||
| * | | Fix rspec failureplugin_path | Tim Smith | 2016-04-22 | 1 | -0/+1 |
| | | | |||||
| * | | Warn on invalid plugin directories | Tim Smith | 2016-04-22 | 2 | -0/+14 |
| | | | |||||
| * | | Add debug logging for the complete merged config | Tim Smith | 2016-04-22 | 1 | -0/+2 |
| | | | |||||
| * | | Debug logging around the plugin paths and loaded plugins | Tim Smith | 2016-04-22 | 1 | -0/+2 |
| | | | |||||
| * | | Clarify what this CLI option actually does | Tim Smith | 2016-04-22 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #805 from chef/plugin_cleanup | Tim Smith | 2016-04-22 | 25 | -334/+425 |
|\ \ | | | | | | | Language plugins: Improve failure logging, update specs, general cleanup | ||||
| * | | Reduce nested Ifs | Tim Smith | 2016-04-22 | 3 | -18/+12 |
| | | | |||||
| * | | Add additional logging to the C pluginplugin_cleanup | Tim Smith | 2016-04-20 | 1 | -2/+12 |
| | | | |||||
| * | | Fix indentation | Tim Smith | 2016-04-20 | 1 | -11/+11 |
| | | | |||||
| * | | Language plugins: Improve failure logging, update spec format, include ↵ | Tim Smith | 2016-04-19 | 24 | -328/+415 |
| | | | | | | | | | | | | sample output in code | ||||
* | | | Merge pull request #796 from chef/OHAI-794/attribute-from-mash | Thom May | 2016-04-22 | 2 | -62/+276 |
|\ \ \ | | | | | | | | | Safely get or check the existence of attributes | ||||
| * | | | Raise TypeError when intermediate key is not a HashOHAI-794/attribute-from-mash | mcquin | 2016-04-19 | 2 | -17/+25 |
| | | | | |||||
| * | | | Extend attribute? and get_attribute DSL methods to apply to sub-attributes. | mcquin | 2016-04-19 | 2 | -62/+268 |
| |/ / | |||||
* | | | Merge pull request #807 from chef/8_15_1_relv8.15.1 | Matt Wrock | 2016-04-20 | 2 | -1/+8 |
|\ \ \ | | | | | | | | | release 8.15.1 | ||||
| * | | | release 8.15.1 | Matt Wrock | 2016-04-20 | 2 | -1/+8 |
|/ / / | |||||
* | | | Merge pull request #806 from chef/silence_warnings | Matt Wrock | 2016-04-20 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Avoid defining WINDOWS_ATTRIBUTE_ALIASES multiple times | ||||
| * | | avoid defining WINDOWS_ATTRIBUTE_ALIASES multiple times and outputting ↵silence_warnings | Matt Wrock | 2016-04-19 | 1 | -1/+1 |
|/ / | | | | | | | zillions of warnings in tests | ||||
* | | Merge pull request #804 from chef/8_15_releasev8.15.0 | Matt Wrock | 2016-04-19 | 2 | -1/+17 |
|\ \ | | | | | | | release 8.15.0 | ||||
| * | | release 8.15.08_15_release | Matt Wrock | 2016-04-18 | 2 | -1/+17 |
| | | | |||||
* | | | Merge pull request #801 from chef/erlang | Tim Smith | 2016-04-18 | 2 | -37/+61 |
|\ \ \ | | | | | | | | | Correct the version detection in erlang plugin | ||||
| * | | | Correct the version detection of erlang | Tim Smith | 2016-04-15 | 2 | -37/+61 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't correctly identifying the erlang version. Instead we were detecting the erts version. Old result: ```javascript "erlang": { "version": "7.3", "options": [ "SMP", "ASYNC_THREADS", "HIPE" ], "emulator": "BEAM" }, ``` New result ```javascript "erlang": { "version": "18", "erts_version": "7.3", "nif_version": "2.10", "options": [ "SMP", "ASYNC_THREADS", "HIPE" ], "emulator": "BEAM" }, ``` | ||||
* | | | | Merge pull request #802 from chef/elixir | Tim Smith | 2016-04-18 | 2 | -24/+40 |
|\ \ \ \ | |_|/ / |/| | | | Fix Elixir version detection on newer Elixir releases | ||||
| * | | | Fix Elixir version detection on newer Elixir releaseselixir | Tim Smith | 2016-04-17 | 2 | -24/+40 |
| |/ / | | | | | | | | | | Add specs for the new format + error logging + general fixes |