| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This is a Ruby 1.8-ism
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Added systemd-nspawn virtualization detection
|
| |
| |
| |
| | |
Signed-off-by: Zeal Jagannatha <zealjagannatha@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Zeal Jagannatha <zealjagannatha@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Zeal Jagannatha <zealjagannatha@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Journal and spare devices are important to report clearly. This puts
them in their own arrays.
I'd like to backport this to 12.x - but it's unclear here what
backwards compat here is.
I *could* put *all* devices into `members` and then also specify special
members in their own list... but prior to me fixing this plugin a few
months, ago, spares and journal wouldn't have been reported anyway...
and it is probably incorrect to report them as normal members... so this
feels like a further fix on a previous fix, so I've opted for just
fixing it. However, let me know how you guys feel.
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|\ \
| |/
|/| |
Fix appveyor by no longer dancing around bundler
|
|/
|
|
|
|
| |
also remove ruby 2.3 since we don't use it with 13
Signed-off-by: Thom May <thom@chef.io>
|
|\
| |
| | |
Add support for Linux MemAvailable value
|
|/
|
|
| |
Signed-off-by: Dzmitry Pasiukevich <dpasiukevich@gmail.com>
|
|\
| |
| | |
[mdadm] Support arrays more than 10 disks
|
|/
|
|
| |
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|\
| |
| | |
Detect new Amazon hypervisor used by the C5 instances
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Rubygems 2.7.1 is non-functional
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Make sure we have line returns as well since that's burned us before in specs
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| |/
| | |
Add a note about the updated OHAI-11/12 deprecations
|
|/
|
|
|
|
| |
We're deprecating these in Ohai 14 not 15 as previously planned
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Release 13.6
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Detect Rackspace on Windows
|
| |
| |
| |
| |
| |
| |
| | |
All we have is the main rackspace attribute and since we're checking
ruby versions in the method we can't really mock out the wmi stuff.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
| |
This uses the same method we previously used on EC2. It won't poll any data since that requires the xen cli tools, but it will show up as being on rackspace, which is an important first step.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Properly allow ruby-head to fail in Travis
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Updating AIX uptime_seconds to reflect elapsed seconds from boot rather than epoch
|
| |
| |
| |
| | |
Signed-off-by: rmcleod8 <richard.mcleod@gmail.com>
|
|/
|
|
|
|
| |
epoch
Signed-off-by: rmcleod8 <richard.mcleod@gmail.com>
|
|\
| |
| | |
Gather packages on Amazon Linux
|
|/
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
also check for lxc-start
|
|/
|
|
| |
Signed-off-by: Jose Asuncion <jeunito@gmail.com>
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
prep 13.5 for release
|
|/
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
|\
| |
| | |
Make sure we require wmi/lite in the ec2 plugin
|
|/
|
|
|
|
| |
This gets required in other places, but it was meant to be uncommented.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Add plugin timing information in debug mode
|
| |
| |
| |
| |
| |
| | |
Seems like a bit of overkill, but it does nicely format the time strings, which I'll take
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A reoccurring problem in Ohai is the runs taking too long. It's hard to troubleshoot since you can't tell what plugin is causing the long runs. This simple debug information provides us with the information we need to troubleshoot unusually long ohai run times.
Example output
```
[2017-09-11T09:20:27-07:00] DEBUG: Plugin Ruby took 1.568772 seconds to run.
[2017-09-11T09:20:27-07:00] DEBUG: Plugin Rust: ran 'rustc --version' and returned 0
[2017-09-11T09:20:27-07:00] DEBUG: Plugin Rust took 0.356488 seconds to run.
[2017-09-11T09:20:31-07:00] DEBUG: Plugin Scala: ran 'scala -version' and returned 0
[2017-09-11T09:20:31-07:00] DEBUG: Plugin Scala took 3.216373 seconds to run.
[2017-09-11T09:20:36-07:00] DEBUG: Ohai took 16.940469 total seconds to run.
```
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Fix the route support for IPV6 routes ending in ::
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Removing the ending word boundary in the regex allows is to capture the
:: endings while still properly parsing other routes. I added a rubular
comment as well so we know what this regex is actually trying to
capture.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Release Ohai 13.4
|
|/ /
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Add Arch Linux support to package plugin
|