| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
|\
| |
| | |
Remove path helpers from window_pagefile
|
| |
| |
| |
| |
| |
| | |
I backported locate_sysnative_cmd initially, but after chatting with Stuart this isn't something we need anymore. This removes it and instead uses wmic.exe directly, which in testing works just fine. This also removes the windows friendly path helper which is really just a gsub on the slashes. Instead I changed the coerce to get us what we need in terms of path formats. I copied this to a Windows 2016 box and it works fine with both formats of paths. I'm making this same change to the windows cookbook.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| |/
|/| |
Add swap_file resource from the swap cookbook
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Copied as-is from the cookbook
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
Fix a few bugs in the sudo resource
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
They are entirely different concepts and users of the old one would see visudo never work. This feature went in 11/2017 and was never documented or added to the changelog, but internally we used it and there are probably a few users. We can just remove it sometime in the future, but I suspect very few will ever be impacted by this.
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 fixes an issue when writing out env_keep only configs. Found this via a super test suite against 14.0.159
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Add windows_adjoin resource
|
| | |
| | |
| | |
| | |
| | |
| | | |
This allows us to have windows_ad_* in the future
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Rename the property to reboot to align with Chef naming. Allow delayed, immediate, or never for reboot actions. Using the actions from reboot was pretty confusing so I used notification names which seems to lineup nicely.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Copied with permission from John Snow's win_ad cookbook. It's been reworked to not mess with dns servers and use powershell_out + sensitive. Some of those changes are getting pushed upstream, but the name is different and there's no expectation of compatibility here.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Suppress nested causes for sensitive exceptions
|
| | |
| | |
| | |
| | | |
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Changes:
- Revert proposed unless and instead incorporate proposed changes suggested by reviewers
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
This will prevent sensitive data from leaking into debug_stacktrace output.
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add sysctl_param resource from the sysctl cookbook
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Still needs a bit of testing to see if there's a better way to do the
reload, but here goes nothing
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Copied from the cookbook with modifications made there
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |_|/
|/| | |
|
| |/
|/|
| |
| |
| |
| | |
I guess they use .d directory structures in sudo, but that's about it.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
this is effectively dead because of forcing new_resource.thingy
i stuck a hard `raise` in here and we have no tests around this any
more.
the conditional also just makes my head hurt looking at it.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
|
|\ \
| | |
| | | |
rubocop fixes from engine bump to 0.54.0
|
| |/
| |
| |
| |
| |
| | |
some cops got a little stricter.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
|
|\ \
| | |
| | | |
Save the node's UUID as an attribute
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We generate the UUID as part of the data collector report, but we didn't
make that available to the node or the chef server otherwise.
Signed-off-by: Thom May <thom@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Support installing removed windows features from source
|