summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add spec for bhyvebhyveTim Smith2016-04-221-0/+19
| | | | Thanks to twitter I was able to get dmidecode output from a bhyve guest
* Merge branch 'travis-altiscale-patch-1' into bhyveTim Smith2016-04-221-0/+2
|\
| * Merge branch 'patch-1' of https://github.com/travis-altiscale/ohai into ↵Tim Smith2016-04-221-0/+2
| |\ |/ / | | | | travis-altiscale-patch-1
| * Add bhyve / xhyve supportTravis Thompson2016-03-301-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 #805 from chef/plugin_cleanupTim Smith2016-04-2225-334/+425
|\ \ | | | | | | Language plugins: Improve failure logging, update specs, general cleanup
| * | Reduce nested IfsTim Smith2016-04-223-18/+12
| | |
| * | Add additional logging to the C pluginplugin_cleanupTim Smith2016-04-201-2/+12
| | |
| * | Fix indentationTim Smith2016-04-201-11/+11
| | |
| * | Language plugins: Improve failure logging, update spec format, include ↵Tim Smith2016-04-1924-328/+415
| | | | | | | | | | | | sample output in code
* | | Merge pull request #796 from chef/OHAI-794/attribute-from-mashThom May2016-04-222-62/+276
|\ \ \ | | | | | | | | Safely get or check the existence of attributes
| * | | Raise TypeError when intermediate key is not a HashOHAI-794/attribute-from-mashmcquin2016-04-192-17/+25
| | | |
| * | | Extend attribute? and get_attribute DSL methods to apply to sub-attributes.mcquin2016-04-192-62/+268
| |/ /
* | | Merge pull request #807 from chef/8_15_1_relv8.15.1Matt Wrock2016-04-202-1/+8
|\ \ \ | | | | | | | | release 8.15.1
| * | | release 8.15.1Matt Wrock2016-04-202-1/+8
|/ / /
* | | Merge pull request #806 from chef/silence_warningsMatt Wrock2016-04-201-1/+1
|\ \ \ | |/ / |/| | Avoid defining WINDOWS_ATTRIBUTE_ALIASES multiple times
| * | avoid defining WINDOWS_ATTRIBUTE_ALIASES multiple times and outputting ↵silence_warningsMatt Wrock2016-04-191-1/+1
|/ / | | | | | | zillions of warnings in tests
* | Merge pull request #804 from chef/8_15_releasev8.15.0Matt Wrock2016-04-192-1/+17
|\ \ | | | | | | release 8.15.0
| * | release 8.15.08_15_releaseMatt Wrock2016-04-182-1/+17
| | |
* | | Merge pull request #801 from chef/erlangTim Smith2016-04-182-37/+61
|\ \ \ | | | | | | | | Correct the version detection in erlang plugin
| * | | Correct the version detection of erlangTim Smith2016-04-152-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/elixirTim Smith2016-04-182-24/+40
|\ \ \ \ | |_|/ / |/| | | Fix Elixir version detection on newer Elixir releases
| * | | Fix Elixir version detection on newer Elixir releaseselixirTim Smith2016-04-172-24/+40
| |/ / | | | | | | | | | Add specs for the new format + error logging + general fixes
* | | Merge pull request #803 from chef/fipsTim Smith2016-04-184-0/+233
|\ \ \ | |/ / |/| | adding a fips plugin to detect if fips is enabled
| * | adding a fips plugin to detect if fips is enabledMatt Wrock2016-04-154-0/+233
|/ /
* | Merge pull request #800 from chef/fix_monoTim Smith2016-04-142-25/+49
|\ \ | | | | | | Fix mono builddate capture and add debug logging
| * | Fix log output and improve checks on shell_out valuesfix_monoTim Smith2016-04-141-3/+3
| | |
| * | Log that we couldn't shell outTim Smith2016-04-141-19/+23
| | |
| * | Correctly poll mono build dateTim Smith2016-04-142-22/+42
| | | | | | | | | | | | Things seems to have changed in the output in the last billion years. Include the full standard out and add a spec.
* | | Merge pull request #799 from chef/scala_fixTim Smith2016-04-142-29/+45
|\ \ \ | |/ / |/| | Fix the scala plugin
| * | Fix the scala pluginscala_fixTim Smith2016-04-132-29/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were several problems with the scala plugin: 1) scala -version is returned on stderr not stdout so we were never setting this and thus the plugin never ran 2) If sbt or scala weren't installed it threw exceptions 3) we were storing shell outs value in the output value for no real reason 4) if scala failed for some reason, but sbt succeeded we weren't setting the sbt values since were relied on scala[:version] being set 5) the specs incorrectly mocked scala output to stdout 6) the specs that checked to make sure values weren't set didn't actually run the plugin so they would always no find scala's key While I was here I moved the version key for sbt into it's own key. This would allow us to add other sbt values in the future if we found them. If we make version to top level value we lose that ability forever.
* | | Merge pull request #798 from chef/salam/fix-pluginSalim Alam2016-04-132-5/+5
|\ \ \ | |/ / |/| | Don't execute .so libs for Windows
| * | Don't execute .so libs for WindowsSalim Alam2016-04-132-5/+5
| | |
* | | Merge pull request #797 from chef/hint_loggingTim Smith2016-04-139-347/+194
|\ \ \ | |/ / |/| | Add debug logging to hints and improve cloud specs
| * | Remove a few more shouldshint_loggingTim Smith2016-04-132-5/+5
| | |
| * | Add space after comma in debug loggingTim Smith2016-04-131-1/+1
| | |
| * | Resolve chefstyle warningsTim Smith2016-04-133-12/+12
| | |
| * | Remove the redundant beginTim Smith2016-04-131-9/+7
| | |
| * | Remove specs for other clouds that don't actually workTim Smith2016-04-135-60/+0
| | | | | | | | | | | | Allowing a method to receive ec2 or rackspace doesn't mean we detected this. These are actually duplicates of the "hint file no present" specs we already have. We just think they're doing something different.
| * | Remove plugin naming in the loggingTim Smith2016-04-121-1/+1
| | | | | | | | | | | | This isn't going to work here
| * | Don't test hint logic in every cloud pluginTim Smith2016-04-128-276/+181
| | | | | | | | | | | | | | | | | | We test this once in the hint spec. We don't need to expect the windows and linux file paths. Additionally if you're on a host that actually has a hint it breaks these tests. The hint spec does it all in a temp dir which is the right way to test it. Also while I'm in these specs update the format, fix some poor wording, and use shared_examples in a few places to dry things up
| * | Add debug logging when looking for hintsTim Smith2016-04-121-14/+18
|/ /
* | Merge pull request #795 from chef/8.14v8.14.0Tyler Ball2016-04-113-30/+56
|\ \ | | | | | | Release 8.14.0
| * | Release 8.14.08.14Tim Smith2016-04-083-30/+56
|/ /
* | Update release notesTim Smith2016-04-082-27/+6
| |
* | Update doc_changesTim Smith2016-04-081-0/+8
| |
* | Merge pull request #793 from tas50/better_ec2_round_200Tim Smith2016-04-082-83/+109
|\ \ | | | | | | Improve Linux EC2 detection, fix false detection, and add Windows detection
| * | Reduce duplicate codeTim Smith2016-04-071-15/+10
| | |
| * | Ensure we when values exist, but they don't matchTim Smith2016-04-071-0/+6
| | | | | | | | | | | | Previously we only got false logging when we rescued
| * | Updates based on feebackTim Smith2016-04-072-9/+9
| | |
| * | Add tests for the UUID EC2 detection methodTim Smith2016-04-072-43/+66
| | |