summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Keep case sensitivity on Windows < 2012case_insensitve_dismTim Smith2018-03-281-3/+11
| | | | | | 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-271-2/+7
| | | | | | | | | 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.173 by Expeditorv14.0.173Chef Expeditor2018-03-271-1/+1
|
* Fix array parsing in windows_feature_dism / windows_feature_powershellfix_dismTim Smith2018-03-272-3/+6
| | | | | | | | | | 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>
* Bump version to 14.0.172 by Expeditorv14.0.172Chef Expeditor2018-03-271-1/+1
|
* Merge pull request #7074 from chef/release_notes_v1Tim Smith2018-03-278-16/+18
|\ | | | | Add Chef 13.8 and 14.0 release notes
| * More release note updates from reviewsTim Smith2018-03-271-1/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update release notes and resources to matchTim Smith2018-03-277-15/+16
| | | | | | | | | | | | Fixed the resoruce docs while I was in there. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 14.0.171 by Expeditorv14.0.171Chef Expeditor2018-03-271-1/+1
| |
* | 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-271-1/+1
|
* 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-271-1/+1
| |
* | Bump version to 14.0.168 by Expeditorv14.0.168Chef Expeditor2018-03-271-1/+1
|/
* Bump version to 14.0.167 by Expeditorv14.0.167Chef Expeditor2018-03-271-1/+1
|
* Bump version to 14.0.166 by Expeditorv14.0.166Chef Expeditor2018-03-261-1/+1
|
* Merge pull request #7050 from chef/tm/deprecated_propertiesTim Smith2018-03-264-3/+50
|\ | | | | RFC-102: Deprecation warning in resources
| * RFC-102: Deprecation warning in resourcestm/deprecated_propertiesThom May2018-03-244-3/+50
| | | | | | | | | | | | | | | | | | | | | | * `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-261-1/+1
| |
* | 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-261-1/+1
| | |
* | | mechanical conversion of most debug log statements to traceThom May2018-03-26170-735/+746
| | | | | | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | | ensure that providers inherit loggers from the run contextThom May2018-03-261-2/+9
| | | | | | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | | Merge pull request #7048 from chef/fix_windows_pagefileTim Smith2018-03-241-38/+19
|\ \ \ | | | | | | | | Remove path helpers from window_pagefile
| * | | Remove path helpers from window_pagefileTim Smith2018-03-231-38/+19
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Bump version to 14.0.163 by Expeditorv14.0.163Chef Expeditor2018-03-241-1/+1
| | | |
* | | | Merge pull request #6990 from chef/swapTim Smith2018-03-232-0/+210
|\ \ \ \ | |/ / / |/| | | Add swap_file resource from the swap cookbook
| * | | Use the newly built in sysctl resourceswapTim Smith2018-03-231-3/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Remove a Chef 13-ismTim Smith2018-03-231-6/+0
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Add swap_file resource form the swap cookbookTim Smith2018-03-232-0/+218
| | |/ | |/| | | | | | | | | | | | | Copied as-is from the cookbook Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 14.0.162 by Expeditorv14.0.162Chef Expeditor2018-03-231-1/+1
| | |
* | | Bump version to 14.0.161 by Expeditorv14.0.161Chef Expeditor2018-03-231-1/+1
|/ /
* | Bump version to 14.0.160 by Expeditorv14.0.160Chef Expeditor2018-03-231-1/+1
| |
* | Merge pull request #7038 from chef/sudo_whichTim Smith2018-03-232-7/+17
|\ \ | | | | | | Fix a few bugs in the sudo resource
| * | Call the new method namesudo_whichTim Smith2018-03-221-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Rename visudo_path -> visudo_binary and raise if the old one is usedTim Smith2018-03-221-2/+11
| | | | | | | | | | | | | | | | | | 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>
| * | Make sure we return true in visudo_present helperTim Smith2018-03-221-2/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Match order to cookbookTim Smith2018-03-221-3/+4
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fix template to match the updated version in the cookbookTim Smith2018-03-221-1/+1
| | | | | | | | | | | | | | | | | | 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>
* | | Bump version to 14.0.159 by Expeditorv14.0.159Chef Expeditor2018-03-221-1/+1
| | |
* | | Merge pull request #6981 from chef/adjoinTim Smith2018-03-222-0/+91
|\ \ \ | | | | | | | | Add windows_adjoin resource
| * | | Rename to windows_ad_joinTim Smith2018-03-222-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | This allows us to have windows_ad_* in the future Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Require the domain_name to be a FQDNTim Smith2018-03-221-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Handle reboots in Chef and provide finer grained control of behaviorTim Smith2018-03-221-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | Add windows_adjoin resourceTim Smith2018-03-222-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Bump version to 14.0.158 by Expeditorv14.0.158Chef Expeditor2018-03-221-1/+1
| | | |
* | | | Bump version to 14.0.157 by Expeditorv14.0.157Chef Expeditor2018-03-221-1/+1
|/ / /