summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 8.24.0backportsTim Smith2017-05-082-2/+15
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Backport the additional plugin path logic from Ohai 13Tim Smith2017-05-083-3/+3
| | | | | | This was done in 3 different PRs that reworked the entire config logic. Porting this back to 12 brings us 1 step closer to killing the ohai cookbook and fixes an enormous pain point for anyone trying to install their own Ohai plugins Signed-off-by: Tim Smith <tsmith@chef.io>
* Ping to Chefstyle 0.4.0Tim Smith2017-05-081-1/+1
| | | | | | We used this during the 8.23 release and it avoids having to redo all the chefstyle fixes which fail specs at the moment Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #989 from jaymzh/mdadmTim Smith2017-05-082-3/+16
| | | [mdadm] Fill in member devices
* Merge pull request #992 from chef/new_ec2_metadataTim Smith2017-05-081-2/+2
| | | Add support for the 2016 EC2 metadata releases
* Merge pull request #976 from chef/timeoutsTim Smith2017-05-082-3/+3
| | | Shorten the sbt shellout timeout period
* Merge pull request #969 from chef/dmi_typesTim Smith2017-05-081-0/+3
| | | Add DMI type 40,41, and 42 from the latest man page
* Merge pull request #964 from webframp/ec2/region-and-zoneTim Smith2017-05-082-0/+45
| | | [ec2] Add additional data from identity document
* Merge pull request #958 from chef/luaTim Smith2017-05-082-3/+11
| | | Fix lua detection on new versions of lua
* Merge pull request #959 from chef/scalaTim Smith2017-05-081-2/+3
| | | Fix scala detection when version output contains a warning
* Merge pull request #947 from chef/require_configThom May2017-05-081-0/+1
| | | Config is used in system so require it there.
* Merge pull request #946 from chef/fix_travisTim Smith2017-05-083-6/+8
| | | Update travis/appveyer preinstall to resolve rainbow failures
* Release 8.23.0Tim Smith2017-01-243-2/+33
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Release 8.22.1Tom Duffield2017-01-231-1/+1
| | | | Signed-off-by: Tom Duffield <tom@chef.io>
* Merge pull request #944 from chef/pr/9418.22.1Tim Smith2017-01-233-310/+419
|\ | | | | C Plugin: Expand GCC data & only shellout to gcc if Xcode is installed on macOS
| * Only look for xlc on AIX and rename collect_cc to collect_sunproTim Smith2017-01-232-40/+52
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update release notes and chefstyle fixespr/941Tim Smith2017-01-232-3/+4
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Rework the specs to be platform specificTim Smith2017-01-202-263/+290
| | | | | | | | | | | | | | | | | | | | Add specs for checking that xcode exists on darwin Remove the odd double glibc mess Don't do ruby logic in the expects. That defeats the entire purpose of the specs if we're doing the same faulty logic. Just include the expected string Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix gcc data collectionTim Smith2017-01-201-36/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | None of the values were being populated with the refactoring. Also gcc hadn’t been collecting anything for a while. This gives us real data for gcc: "c": { "gcc": { "configured_with": "--prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1", "description": "Apple LLVM version 8.0.0 (clang-800.0.42.1)", "version": "8.0.0", "target": "x86_64-apple-darwin16.3.0", "thread_model": "posix" } },
| * Update GCC sample outputTim Smith2017-01-202-18/+23
| |
| * Don't check CC on DarwinTim Smith2017-01-201-4/+1
| | | | | | | | | | CC is clang on Darwin and the output is different so this just fails every time. We *should* add clang checks at some point though.
| * Remove extra windows check for glibcTim Smith2017-01-201-1/+0
| | | | | | | | | | We’re only collecting this data on Windows now so don’t bother checking if we’re on Windows again
| * Consistent loggingTim Smith2017-01-201-4/+3
| |
| * Further split out platforms in the C pluginTim Smith2017-01-201-4/+8
| | | | | | | | | | cl / devenv are windows only so avoid checking those on *nix HP UX things should only get checked on HPUX
| * add colons back to debug logErik Gomez2017-01-201-2/+2
| | | | | | | | Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
| * move functions to topErik Gomez2017-01-201-25/+27
| | | | | | | | Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
| * fixed ChefstyleErik Gomez2017-01-201-2/+2
| | | | | | | | Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
| * refactor c.rb based on PR feedbackErik Gomez2017-01-201-60/+71
| | | | | | | | Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
| * fix gcc and cc for darwin (no cli tools installed)Erik Gomez2017-01-201-21/+58
|/ | | | | | | | | If darwin is found: 1. shell out to /usr/bin/xcode-select -p 2a. If it returns an exit code other than 0, assume xcode command line tools are not installed and do not run these commands. 2b. If it returns an exit code of 0, run the commands. Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
* Merge branch 'tm/fix_app_logging'Tim Smith2017-01-203-5/+2
|\
| * Only explicitly initialize a logger when neededtm/fix_app_loggingThom May2017-01-203-5/+2
|/ | | | | | | | When we're running Ohai as a standalone application, we need to fire up the logger with our desired location, but when we're run from inside Chef, we're passed the client's loggers. Signed-off-by: Thom May <thom@chef.io>
* updating cloud plugin to populate azure private_ip as it's currently nilohai13Richard Shade2017-01-042-0/+7
| | | | Signed-off-by: Richard Shade <rshade@rightscale.com>
* Merge pull request #934 from chef/travisLamont Granquist2016-12-221-2/+6
|\ | | | | Bump ruby versions and test on ruby head
| * Bump ruby versions and test on ruby headTim Smith2016-12-211-2/+6
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #935 from chef/better_loggingTim Smith2016-12-2219-102/+127
|\ \ | |/ |/| Better debug logging
| * Better debug loggingTim Smith2016-12-2219-102/+127
|/ | | | | | | | | Gracefully fail in virtual box Include plugin name in more logs Be consistent in the log output format Help figure out how Virtualization systems were detected with logging Signed-off-by: Tim Smith <tsmith@chef.io>
* Update RELEASE_NOTES.mdTim Smith2016-12-201-0/+14
|
* Merge pull request #921 from chef/cumulusTim Smith2016-12-203-61/+127
|\ | | | | Properly detect Cumulus Linux platform / version
| * Fix comment typoTim Smith2016-12-201-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Better error handling if we can't determine Cumulus versioncumulusTim Smith2016-12-192-8/+14
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Reorder detection of platforms to speed things upTim Smith2016-12-151-22/+22
| | | | | | | | | | | | Check the more popular platforms first since those are most likely to match. Parallels have to come before RHEL though since it looks like RHEL. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add Cumulus Linux detection to the release notesTim Smith2016-12-151-17/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Properly detect Cumulus Linux platform / versionTim Smith2016-12-152-22/+97
| | | | | | | | | | | | Detect cumulus Linux systems if they have /etc/cumulus directory. Use platform of ‘cumulus’ and platform_family debian since it’s Debian 8.5. Parse version from their config directory. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #925 from chef/VeertuThom May2016-12-204-0/+41
|\ \ | | | | | | Detect guests running on Veertu hypervisor
| * | Detect guests running on Veertu hypervisorVeertuTim Smith2016-12-154-0/+41
|/ / | | | | | | | | | | | | | | Hypervisor for OS that runs Linux and WIndows https://veertu.com/ Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #922 from rdean716/rdean-patch1Tim Smith2016-12-152-0/+61
|\ \ | |/ |/| Windows guest support on Hyper-v and Xen.
| * conditional to better identify hyper-v systmsBob Dean2016-12-152-14/+16
| | | | | | | | Signed-off-by: Bob Dean <radean@hotmail.com>
| * Windows guest support on Hyper-v and Xen.Bob Dean2016-12-142-0/+59
|/ | | | Signed-off-by: Bob Dean <radean@hotmail.com>
* Merge pull request #907 from Fodoj/masterTim Smith2016-12-123-1/+60
|\ | | | | Fetch AWS Account ID from metadata
| * Memoize dynamic AWS dataKirill Shirinkin2016-12-121-7/+9
| | | | | | | | Signed-off-by: Kirill Shirinkin <fodojyko@gmail.com>