summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Do the bare minimum validation to make sure we don't get a FQDN on windowsvalidate_hostnameTim Smith2018-03-282-33/+7
| | | | | | | | | | 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>
* Add basic hostname validationTim Smith2018-03-282-0/+27
| | | | | | | | | 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>
* Bump version to 14.0.175 by Expeditorv14.0.175Chef Expeditor2018-03-285-11/+12
|
* Merge pull request #7079 from chef/case_insensitve_dismTim Smith2018-03-282-8/+21
|\ | | | | windows_feature_dism: Be case insensitive with feature names
| * Keep case sensitivity on Windows < 2012case_insensitve_dismTim Smith2018-03-282-4/+12
| | | | | | | | | | | | 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>
| * windows_feature_dism: Be case insensitive with feature namesTim Smith2018-03-272-7/+12
| | | | | | | | | | | | | | | | | | 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>
* | Bump version to 14.0.174 by Expeditorv14.0.174Chef Expeditor2018-03-285-11/+12
| |
* | Merge pull request #7037 from chef/lcg/nil-sets-defaultThom May2018-03-283-18/+64
|\ \ | |/ |/| Setting nil to properties with implicit nil sets default value
| * remove errant debugginglcg/nil-sets-defaultLamont Granquist2018-03-221-1/+0
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Setting nil to properties with implicit nil sets default valueLamont Granquist2018-03-223-18/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | Bump version to 14.0.173 by Expeditorv14.0.173Chef Expeditor2018-03-275-11/+12
| |
* | Merge pull request #7078 from chef/fix_dismTim Smith2018-03-274-7/+30
|\ \ | | | | | | Fix array parsing in windows_feature_dism / windows_feature_powershell
| * | Fix array parsing in windows_feature_dism / windows_feature_powershellfix_dismTim Smith2018-03-274-7/+30
|/ / | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #7077 from brewn/nb/systctlTim Smith2018-03-271-1/+1
|\ \ | | | | | | [Release Notes] s/systctl/sysctl
| * | s/systctl/sysctlbrewn2018-03-271-1/+1
|/ / | | | | | | Signed-off-by: brewn <nbrewer@chef.io>
* | Bump version to 14.0.172 by Expeditorv14.0.172Chef Expeditor2018-03-275-11/+12
| |
* | Merge pull request #7074 from chef/release_notes_v1Tim Smith2018-03-279-92/+463
|\ \ | | | | | | Add Chef 13.8 and 14.0 release notes
| * | Remove some extra slashesTim Smith2018-03-271-2/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | More release note updates from reviewsTim Smith2018-03-272-4/+5
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Shard is also optionalTim Smith2018-03-271-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Minor typoTim Smith2018-03-271-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Update release notes and resources to matchTim Smith2018-03-278-131/+111
| | | | | | | | | | | | | | | | | | Fixed the resoruce docs while I was in there. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add Chef 13.8 and 14.0 release notesTim Smith2018-03-271-3/+393
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Bump version to 14.0.171 by Expeditorv14.0.171Chef Expeditor2018-03-275-11/+12
| | |
* | | Merge pull request #7076 from brewn/nb/sudo-resource-ruby-typeTim Smith2018-03-271-1/+1
|\ \ \ | |/ / |/| | Sudo resource: specify ruby type for visudo_binary
| * | forgot commabrewn2018-03-271-1/+1
| | | | | | | | | | | | Signed-off-by: brewn <nbrewer@chef.io>
| * | specify ruby type for visudo_binarybrewn2018-03-271-1/+1
|/ / | | | | | | Signed-off-by: brewn <nbrewer@chef.io>
* | Bump version to 14.0.170 by Expeditorv14.0.170Chef Expeditor2018-03-275-11/+12
| |
* | Merge pull request #7073 from chef/descriptionsTim Smith2018-03-278-20/+19
|\ \ | | | | | | Add / update resource descriptions
| * | Add / update descriptionsTim Smith2018-03-268-20/+19
| | | | | | | | | | | | | | | | | | | | | Use the same format that the docs team approved throughout and make a few minor changes Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 14.0.169 by Expeditorv14.0.169Chef Expeditor2018-03-275-11/+12
| | |
* | | Merge pull request #7075 from chef/openssl_102oTim Smith2018-03-273-12/+12
|\ \ \ | | | | | | | | Update openssl to 1.0.2o
| * | | Update openssl to 1.0.2oTim Smith2018-03-273-12/+12
|/ / / | | | | | | | | | | | | | | | This addresses https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-0739 Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 14.0.168 by Expeditorv14.0.168Chef Expeditor2018-03-275-11/+12
| | |
* | | Merge pull request #7057 from chef/readme_tweakTim Smith2018-03-261-7/+4
|\ \ \ | |/ / |/| | Update information on updating gems / Expeditor
| * | Update information on updating gems / Expeditorreadme_tweakTim Smith2018-03-261-7/+4
| | | | | | | | | | | | | | | | | | These were just wrong Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 14.0.167 by Expeditorv14.0.167Chef Expeditor2018-03-275-12/+13
| | |
* | | Merge pull request #7051 from chef/tm/inspec_2Tim Smith2018-03-265-13/+89
|\ \ \ | | | | | | | | Ship InSpec 2
| * | | Refactor travis config.tm/inspec_2Jared Quick2018-03-261-14/+7
| | | | | | | | | | | | | | | | Signed-off-by: Jared Quick <jquick@chef.io>
| * | | Force unf_ext to 0.0.7.6 in Gemfile.Jared Quick2018-03-263-3/+19
| | | | | | | | | | | | | | | | Signed-off-by: Jared Quick <jquick@chef.io>
| * | | Ship InSpec 2Thom May2018-03-244-7/+74
| | | | | | | | | | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | | | Merge pull request #7056 from chef/changelogTim Smith2018-03-261-2/+32
|\ \ \ \ | |_|/ / |/| | | Add missing Chef 13.8 release to the notes
| * | | Add missing Chef 13.8 release to the noteschangelogTim Smith2018-03-261-2/+32
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 14.0.166 by Expeditorv14.0.166Chef Expeditor2018-03-265-11/+12
|/ / /
* | | Merge pull request #7050 from chef/tm/deprecated_propertiesTim Smith2018-03-265-3/+74
|\ \ \ | | | | | | | | RFC-102: Deprecation warning in resources
| * | | RFC-102: Deprecation warning in resourcestm/deprecated_propertiesThom May2018-03-245-3/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `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>
* | | | Bump version to 14.0.165 by Expeditorv14.0.165Chef Expeditor2018-03-265-11/+12
| | | |
* | | | Merge pull request #7030 from chef/tm/fix_mount_optionsTim Smith2018-03-261-4/+4
|\ \ \ \ | | | | | | | | | | Ensure that we pass the correct options to mount
| * | | | Ensure that we pass the correct options to mounttm/fix_mount_optionsThom May2018-03-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On solaris, default is not a thing Signed-off-by: Thom May <thom@chef.io>
* | | | | Bump version to 14.0.164 by Expeditorv14.0.164Chef Expeditor2018-03-265-11/+12
| | | | |