summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | 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>
| * | Fetch AWS Account ID from metadataKirill Shirinkin2016-11-303-1/+58
| | | | | | | | | | | | Signed-off-by: Kirill Shirinkin <fodojyko@gmail.com>
* | | Merge pull request #920 from chef/tduffield/use-internal-changelogTim Smith2016-12-071-1/+1
|\ \ \ | |_|/ |/| | Use custom changelog generator
| * | Use custom changelog generatorTom Duffield2016-12-071-1/+1
|/ / | | | | | | | | | | | | | | This version of the changelog generator addresses a few issues with the upstream one. In addition, it has a less restrictive dependency on Retriable, which can cause conflict when Ohai is installed in ChefDK. Signed-off-by: Tom Duffield <tom@chef.io>
* | Merge pull request #893 from davide125/getconfThom May2016-12-022-0/+724
|\ \ | | | | | | Add sysconf plugin to expose system configuration variables
| * | Add sysconf plugin to expose system configuration variablesDavide Cavalca2016-11-302-0/+724
| | | | | | | | | | | | Signed-off-by: Davide Cavalca <dcavalca@fb.com>
* | | Merge pull request #916 from chef/erlangTim Smith2016-12-012-10/+8
|\ \ \ | |/ / |/| | Pull the complete version string of Erlang
| * | Pull the complete version string of ErlangerlangTim Smith2016-12-012-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | Improve the shellout with help of StackOverflow and srenatus. This requires less fragile work in Ruby by formatting the data in erlang properly. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #910 from chef/8.22.0v8.22.0Tim Smith2016-11-304-4/+40
|\ \ \ | | | | | | | | Release 8.22.0
| * | | Release 8.22.0Tim Smith2016-11-304-4/+40
|/ / / | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #909 from chef/bahamas10-dave-1426559693Tim Smith2016-11-302-47/+54
|\ \ \ | | | | | | | | Rework / fix logic in the joyent plugin and improve specs
| * | | Rework the specsbahamas10-dave-1426559693Tim Smith2016-11-291-33/+45
| | | | | | | | | | | | | | | | | | | | | | | | These specs weren’t covering the actual meat of the plugin. They mocked out the methods, when the methods are where the majority of logic exists. Instead of mocking those methods mock out the files on disk. This also serves to document the structure of the files we’re parsing in the plugin so that’s another win. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Use a regex vs. a split that didn’t seem to workTim Smith2016-11-291-3/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Return an empty array to avoid failures later with .eachTim Smith2016-11-291-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>