| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
We can do this with strings alone
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Simplify more case statements
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|\
| |
| | |
Improve Windows resource performance by converting powershell_out usage to powershell_exec
|
| |
| |
| |
| | |
Signed-off-by: mwrock <matt@mattwrock.com>
|
| |
| |
| |
| |
| |
| | |
We're working too hard here. No need for these.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a pretty useless test at this point:
- Platform/platform_family/version combinations are invalid in a way
that makes tests pass when they should not. Ex: all the solaris stuff
- Platforms we don't support anymore
- Fake version numbers that mean we're not testing what would actually
make sense
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://en.wikipedia.org/wiki/OpenSolaris
Latest release 2009.06 / June 1, 2009; 11 years ago
"OpenSolaris is a discontinued open source computer operating system based on Solaris and created by Sun Microsystems."
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://en.wikipedia.org/wiki/Nexenta_OS
"In late 2011, the Nexenta OS brand was terminated and replaced with Illumian, which is derived from community development for illumos and OpenIndiana, but was distinguished by its use of Debian packaging. Illumian version 1.0 was released in February 2012. Following the initial release of Illumian in 2012, the Illumian project was discontinued.[3]"
and
"Final release 3.1.3.5 (October 31, 2012; 7 years ago)"
We never really support this and it's been dead dead dead for a long time. Just nuke it along with the helpers. There's no way anyone used these.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
Compare current resource device with new resource device_fstab value.
Added specs for device_unchaged? method changes.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
|
|
|
|
|
| |
So much easier to read and probably faster this way too.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
Also converts some of them to custom resources
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
No need for this.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: mwrock <matt@mattwrock.com>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|\
| |
| | |
Refactor ResourceGuardInterpreter
|
| |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
|/
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|\
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
This makes it easier to read and easier to test
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Initial stab at a chef_client_config resource that will allow people to easily write out a client.rb. This isn't meant to cover every single use case, but instead to provide a simple resource that works for 99% of users.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
| |
Signed-off-by: mwrock <matt@mattwrock.com>
|
|
|
|
| |
Signed-off-by: mwrock <matt@mattwrock.com>
|
|
|
|
| |
Signed-off-by: mwrock <matt@mattwrock.com>
|
|\
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: mwrock <matt@mattwrock.com>
|
|/
|
|
| |
Signed-off-by: mwrock <matt@mattwrock.com>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
|
|
|
|
| |
tty-table was holding back a bunch of deps. This will resolve several Ruby 2.7 warnings and lets use use the optimized license-acceptance gem that also had pete's better error handling. This also nukes a few deps to make chef/chef smaller.
Includes misc chefstyle fixes for the new version
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 was one of our top 10 slow specs
Before:
Chef::Mixin::OpenSSLHelper#dhparam_pem_valid? When the dhparam.pem file does exist, and does contain a vaild dhparam key returns true
2.71 seconds ./spec/unit/mixin/openssl_helper_spec.rb:101
After:
0.01765 seconds ./spec/unit/mixin/openssl_helper_spec.rb:538
Chef::Mixin::OpenSSLHelper#dhparam_pem_valid? When the dhparam.pem file does exist, and does contain a vaild dhparam key returns true
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| |
| | |
Now that we don't check the value first we're only calling it once,
which is :dope:
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
|
| |
These are required by Ruby out of the box so lets avoid trying to
require them again.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
| |
Co-authored-by: pete higgins <pete@peterhiggins.org>
|
|
|
|
|
|
|
|
|
|
| |
Also pull in some helpers from the Ohai work so that Ohai can
use them later.
This is code rearrangement to support the remote ohai work but
does not change any existing behavior yet.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
|
| |
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
|
| |
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
|
| |
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
| |
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: mwrock <matt@mattwrock.com>
|