| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
RuboCop Performance has gotten significantly better in the last few years. The cop that updates =~ to .match? is now smart enough to make sure you're not using the data later. With this fix 61 places we did more expensive regexes or uses select followed by .first have been fixed.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Depend on chef-utils gem so we can use ChefUtils::Mash
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
|
|
|
| |
Add chef-utils as a dependency and use the ChefUtils Mash
implementation for ohai.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Add new selinux plugin for Linux
|
| |
| |
| |
| | |
Signed-off-by: Davide Cavalca <dcavalca@fb.com>
|
| |
| |
| |
| | |
Signed-off-by: Davide Cavalca <dcavalca@fb.com>
|
| |
| |
| |
| | |
Signed-off-by: Davide Cavalca <dcavalca@fb.com>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| |/
|/| |
Avoid constant warnings when reloading ohai plugins
|
|/
|
|
|
|
|
|
|
|
| |
/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/ohai-16.0.19/lib/ohai/plugins/windows/dmi.rb:23: warning: previous definition of DMI_TO_WIN32OLE was here
/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/ohai-16.0.19/lib/ohai/plugins/windows/dmi.rb:39: warning: already initialized constant SPLIT_REGEX
/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/ohai-16.0.19/lib/ohai/plugins/windows/dmi.rb:39: warning: previous definition of SPLIT_REGEX was here
/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/ohai-16.0.19/lib/ohai/plugins/windows/dmi.rb:41: warning: already initialized constant WINDOWS_TO_UNIX_KEYS
/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/ohai-16.0.19/lib/ohai/plugins/windows/dmi.rb:41: warning: previous definition of WINDOWS_TO_UNIX_KEYS was here
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Use correct DMI attribute name for product name
|
| |
| |
| |
| |
| |
| | |
The `Layout/Tab` cop has been renamed to `Layout/IndentationStyle`
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I discovered that ohai was incorrectly detecting our OpenStack guests showing
the following output:
{
"systems": {
}
}
With this change, it correctly shows the following output:
{
"systems": {
"openstack": "guest"
},
"system": "openstack",
"role": "guest"
}
The problem was the fact that dmi/system/product was the incorrect attribute and
should be dmi/system/product_name instead.
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Add a plugin for Windows mimicing the Unix dmi plugin
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|/
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Fix chefstyle violations.
|
|/
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Make shard plugin more resilient and throw better errors
|
|/
|
|
|
|
|
|
|
|
|
| |
* Catch a variety of problems and Ohai::Log.error about them. Since this
is an optional plugin, if we're hitting these, someone specifically
requested this plugin, so an error is warranted.
* We raise anyway, so that you don't spew further errors
Fixes #1385
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Cache gem installs in Buildkite on Windows as well
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|