| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
| |
|
|\
| |
| | |
homebrew_tap / homebrew_cask: Fix compile time errors with the user mixin
|
|/
|
|
|
|
| |
Turns out I was doing this entirely wrong. I've confirmed this fixes the issue I introduced by trying to fix another issue with the usage of the mixin.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|\
| |
| | |
Bump Ruby to 2.5.1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://www.ruby-lang.org/en/news/2018/03/28/http-response-splitting-in-webrick-cve-2017-17742/
https://www.ruby-lang.org/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/
https://www.ruby-lang.org/en/news/2018/03/28/large-request-dos-in-webrick-cve-2018-8777/
https://www.ruby-lang.org/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/
https://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/
https://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/
https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| | |
| | | |
macos_userdefaults: Fix 2 failures
|
| | |
| | |
| | |
| | |
| | |
| | | |
Avoid a method missing error on current_value and add the missing method from the helper library that wasn't copied in
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Avoid lookups for rights of 'LocalSystem' in windows service
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
LocalSystem is a special account for the service subsystem, and the security
subsystem doesn't know about it. It inherits rights from BUILTIN\Administrators
so we don't need to check it for SeServiceLogonRight. Even if we look up System
it wouldn't show up as it gets that right from hidden membership in
BUILTIN\Administrators.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
Fix method missing error in dmg_package
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
I'll get this fixed in the cookbook as well.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
[windows_font] get rid of "remove" in description
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: brewn <nbrewer@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
[windows_ad_join] add description for :join action
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: brewn <nbrewer@chef.io>
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: brewn <nbrewer@chef.io>
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Add basic hostname validation on Windows
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Throws out the full regex and instead just makes sure someone doesn't give us a FQDN, which will entirely fail the run and result in a infinite reboot.
RuntimeError
------------
hostname[chefnode.example.com] (bft::windows line 1) had an error: RuntimeError: Windows hostnames cannot contain a period.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
alphanumeric, -, . or _
Starts with an alphanumeric
We could get a lot more complex here and that might not be a bad idea, but this is probably a step in the right direction.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| |/
|/| |
windows_feature_dism: Be case insensitive with feature names
|
| |
| |
| |
| |
| |
| | |
Dism here does not support case insensitive feature installs. This isn't a user behavior change sine they always needed the feature to have the right case here.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We took what they user gave us and compared it to the list of available
packages from dism.exe. In doing so we were case sensitive, but the CLI
doesn't actually care. This just downcases what the user gives us and
what dism gives us so it doesn't matter.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| |/
|/| |
Setting nil to properties with implicit nil sets default value
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- This makes converting core resources to properties safer
- This makes it easier to apply wrapping properties to subresources
property :foo, String, default: "foo"
This is where the change lies, and writing a nil here will now actually
write a "foo" to the variable.
property :foo, [ String, nil ], default: "foo"
This is unchanged. Writing nil writes nil.
property :foo, String
Technically this is changed, since it writes the default value, but
since nil.equal?(nil) in a very deep way no behavior changes.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
|
|\ \
| | |
| | | |
Fix array parsing in windows_feature_dism / windows_feature_powershell
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes how we parse out the arrays and adds testing to make sure it's doing what we want.
Plus it properly continues on when the user has removed all local feature but specified an external source of those via the registry. That was a reported issue that came in on the cookbook after the rewrite.
Lastly this also fixes a bad method call to the dism method that came over when diffing from the cookbook.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
[Release Notes] s/systctl/sysctl
|
|/ /
| |
| |
| | |
Signed-off-by: brewn <nbrewer@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Add Chef 13.8 and 14.0 release notes
|
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixed the resoruce docs while I was in there.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
First stab at Chef 14 release notes. Let me know if I got it all. I'm sure there's plenty of typos.
Yes it's really big. That's ok. It's a big release with a lot of things we want people to know about.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Sudo resource: specify ruby type for visudo_binary
|