| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
| | |
| | |
| | | |
Signed-off-by: brewn <nbrewer@chef.io>
|
|/ /
| |
| |
| | |
Signed-off-by: brewn <nbrewer@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Add / update resource descriptions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use the same format that the docs team approved throughout and make a
few minor changes
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Update openssl to 1.0.2o
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
This addresses https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-0739
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Update information on updating gems / Expeditor
|
| | |
| | |
| | |
| | |
| | |
| | | |
These were just wrong
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Ship InSpec 2
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Jared Quick <jquick@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Jared Quick <jquick@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thom May <thom@chef.io>
|
|\ \ \ \
| |_|/ /
|/| | | |
Add missing Chef 13.8 release to the notes
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
RFC-102: Deprecation warning in resources
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* `deprecated_property_alias` allows the resource author to provide
transition from old properties to new ones with a deprecation
warning.
* The `deprecated` option on a property emits a deprecation warning.
* The `deprecated` method on a resource takes a message, but does not
yet emit a deprecation warning.
Signed-off-by: Thom May <thom@chef.io>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Ensure that we pass the correct options to mount
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
On solaris, default is not a thing
Signed-off-by: Thom May <thom@chef.io>
|
| | | | | |
|