| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Just makes it a bit easier to read.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|
| |
Signed-off-by: mwrock <matt@mattwrock.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #10645
Linux:
```
[2020-11-18T12:09:31-08:00] INFO: Processing linux_user[bin] action create (/var/chef/cache/cookbooks/fb_users/resources/default.rb line 118)
[2020-11-18T12:09:32-08:00] INFO: linux_user[bin] altered, change shell from /usr/sbin/phil to /usr/sbin/nologin
```
Windows:
```
[2020-11-18T12:18:02-08:00] INFO: windows_user[john] altered, update password
```
Note this does not fix an ongoing but where no matter waht you set the
password to it always thinks it needs to be updated, likely a bug
somewhere in Chef::Util::Windows::NetUser, and vaguely related to #10455
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
| |\
| |
| |
| |
| | |
MsysTechnologiesllc/antima/fixes_for_mutltiple_entry_in_fstab
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| |
| |
| |
| |
| | |
Added specs for the changes.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| | |
| |
| |
| |
| |
| | |
Fixed test case failure.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| | |
| |
| |
| |
| |
| | |
There's really no point in testing this method now since it would be us mocking out junk only.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |\ \
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |/
| |
| |
| | |
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
| |/
|
|
|
|
| |
device type.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| |\
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
| |
| |
| |
| |
| | |
Test the transforms we perform on these inputs
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| |
| |
| | |
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| | |
| |
| |
| | |
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| |/
|
|
|
|
|
| |
Added spec for network device found as mounted.
Removed '/' from end of the device value.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
|
| |\
| |
| |
| |
| | |
MsysTechnologiesllc/Kapil/Github-10201_Add_deprecation_for_enforce_path_sanity
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| |
| |
| | |
Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
|
| |/
|
|
|
|
| |
We can do this with strings alone
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>
|
| |\
| |
| | |
Refactor ResourceGuardInterpreter
|
| | |
| |
| |
| | |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| | |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |/
|
|
| |
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>
|