| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This cuts down the time an order of magnitude.
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|
|
|
|
|
| |
Pull in the latest rake task, fix some variable names, fix a few legit typos.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|\
| |
| | |
Add VboxHost plugin to support VirtualBox as a virtualization host
|
| |
| |
| |
| | |
Signed-off-by: Joshua Colson <joshua.colson@gmail.com>
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check the system information to determine if this system is running on Google Compute Engine.
See also the Google Cloud Documentation for [detecting if you are running in Compute Engine](https://cloud.google.com/compute/docs/instances/managing-instances#dmi).
Signed-off-by: Nathen Harvey <nathenharvey@google.com>
Update release notes
Signed-off-by: Nathen Harvey <nathenharvey@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Setting the User-Agent to `chef-ohai/VERSION` will correctly identify ohai as the application making a request to metadata.google.internal.
The previous User-Agent header was defaulting to
`User-Agent: Ruby`
It is now set to
`chef-ohai/14.6.2` where `14.6.2` is the value of `Ohai::VERSION`
Signed-off-by: Nathen Harvey <nathenharvey@google.com>
|
|
|
|
|
|
| |
This is necessary before we can start Chef 15 development.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|
|
|
|
|
| |
This should cover it all
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
| |
1) It's broken
2) It's a huge amount of data on the node
3) It takes 3 seconds to run
4) Hardware plugin does the same thing, but better
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
I wasn't aware that this was our standard way of doing this. Works for me.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
| |
This is based on an original plugin from:
https://github.com/GLOBAL2000/chef-ohai-plugins/
With modifications from the fork here:
https://github.com/GLOBAL2000/chef-ohai-plugins/
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
We're deprecating these in Ohai 14 not 15 as previously planned
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
| |
PR #1047 allows a plugin to return partial data which may be incredibly
dangerous. It's a totally reasonable thing to want, however, so we gate
it behind a plugin config. However, the default behavior reverts to
where it was.
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a new Ohai configuration `critical_plugins` which will cause
Ohai to exit (or `fail` if inside of Chef) if the plugins in the list do
not run successfully.
This feature only supports Ohai 7-style named plugins, not the ancient
Ohai 6-style stuff.
Tests to follow, but:
```
$ cat /home/phild/ohai.rb
ohai.critical_plugins << :Filesystem
$ ./bin/ohai -c /home/phild/ohai.rb
[2017-10-03T13:43:14-07:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
[2017-10-03T13:43:14-07:00] ERROR: The following plugins marked as critical failed: [:Filesystem]
```
And when I run Chef:
```
[2017-10-03T13:44:11-07:00] FATAL: RuntimeError: The following plugins marked as critical failed: [:Filesystem2]. Failing Chef run.
```
This fixes #879.
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Add Arch Linux support to package plugin
|
| |
| |
| |
| | |
Signed-off-by: William Osler <oslerw@fb.com>
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|