| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Tom Duffield <tom@chef.io>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
C Plugin: Expand GCC data & only shellout to gcc if Xcode is installed on macOS
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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"
}
},
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We’re only collecting this data on Windows now so don’t bother checking
if we’re on Windows again
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
cl / devenv are windows only so avoid checking those on *nix
HP UX things should only get checked on HPUX
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Richard Shade <rshade@rightscale.com>
|
|\ \ \ \
| | | | |
| | | | | |
Bump ruby versions and test on ruby head
|
| | |_|/
| |/| |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \
| |/ / /
|/| | | |
Better debug logging
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|/ / |
|
|\ \
| | |
| | | |
Properly detect Cumulus Linux platform / version
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
Detect guests running on Veertu hypervisor
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Hypervisor for OS that runs Linux and WIndows
https://veertu.com/
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| |/ /
|/| | |
Windows guest support on Hyper-v and Xen.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Bob Dean <radean@hotmail.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Bob Dean <radean@hotmail.com>
|
|\ \
| | |
| | | |
Fetch AWS Account ID from metadata
|
| | |
| | |
| | |
| | | |
Signed-off-by: Kirill Shirinkin <fodojyko@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Kirill Shirinkin <fodojyko@gmail.com>
|
|\ \ \
| |_|/
|/| | |
Use custom changelog generator
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
Add sysconf plugin to expose system configuration variables
|
| | |
| | |
| | |
| | | |
Signed-off-by: Davide Cavalca <dcavalca@fb.com>
|
|\ \ \
| |/ /
|/| | |
Pull the complete version string of Erlang
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
Release 8.22.0
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| | | |
| | | | |
Rework / fix logic in the joyent plugin and improve specs
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|