summaryrefslogtreecommitdiff
path: root/lib/chef
Commit message (Collapse)AuthorAgeFilesLines
* Don't uppercase cookbooksloggingTim Smith2021-08-232-7/+7
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add line that we're starting Infra PhaseTim Smith2021-08-232-4/+6
| | | | | | Make it clear which parts of the run are which for the future Signed-off-by: Tim Smith <tsmith@chef.io>
* Consistent capitalizing in the loggersTim Smith2021-08-232-5/+5
| | | | | | Also use the word Policyfile Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix a documentation typoTim Smith2021-08-231-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.4.25 by Chef Expeditorv17.4.25Chef Expeditor2021-08-231-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11924 from chef/lcg/compliance-remove-json-loggerTim Smith2021-08-231-1/+1
|\ | | | | Remove the default json logger from the compliance API
| * Remove the default json logger from the compliance APIlcg/compliance-remove-json-loggerLamont Granquist2021-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This indirectly fixes #11585 and avoids the json logger silently consuming disk space. By reverting back to a single value we also avoid the attributes array merging issues. This might conceivably change behavior to people who were reliant on the additive array-merge behavior, but the compliance profile have been considered experimental. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 17.4.24 by Chef Expeditorv17.4.24Chef Expeditor2021-08-231-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 17.4.23 by Chef Expeditorv17.4.23Chef Expeditor2021-08-171-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11925 from chef/mac_userTim Smith2021-08-171-3/+3
|\ \ | | | | | | Fix failures in mac_user when not all user fields are present
| * | Fix failures in mac_userTim Smith2021-08-171-3/+3
| | | | | | | | | | | | | | | | | | After merging https://github.com/chef/chef/pull/11731 our functional tests started failing. It turns out we're not being defensive about data missing when we parse the dscl -> plist -> current resource. On my mac after creating a single user 'foo' with all defaults the shell data is nil as is the is_hidden data. The way we try to get the first item in the array fails on a method missing error for nilclass. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 17.4.22 by Chef Expeditorv17.4.22Chef Expeditor2021-08-171-1/+1
|/ / | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Revert "fix mac_user create_user for running without full disk access"Marc A. Paradise2021-08-171-32/+32
| | | | | | | | This reverts commit d4dc1129c3589af97a20f2002a3b54e62e8138ac.
* | Revert "Signed-off-by: Gilbert Liu <zpak@fb.com>"Marc A. Paradise2021-08-171-17/+17
| | | | | | | | This reverts commit fcf6a7eceecff78b11bffda41200db06536f6641.
* | Bump version to 17.4.21 by Chef Expeditorv17.4.21Chef Expeditor2021-08-161-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11927 from chef/fix-group-creation-gid-errorTim Smith2021-08-161-1/+1
|\ \ | | | | | | group: fix gid in use error on macOS
| * | fix(resource/group): group id comparisonrishichawda2021-08-161-1/+1
| | | | | | | | | | | | Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
* | | Merge pull request #11534 from ↵Tim Smith2021-08-161-5/+5
|\ \ \ | | | | | | | | | | | | | | | | jasonwbarnett/flush-cache-after-subscription-is-added Flush package cache after attaching to rhsm subscription
| * | | Flush package cache after attaching to rhsm subscriptionJason Barnett2021-08-111-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
* | | | Merge pull request #11923 from chef/lcg/yell-louderTim Smith2021-08-131-1/+3
|\ \ \ \ | |_|_|/ |/| | | Make the stacktrace.out message more visible
| * | | Make the stacktrace.out message more visibleLamont Granquist2021-08-131-1/+3
| |/ / | | | | | | | | | | | | | | | Nobody ever reads this. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Chefstyle fixesTim Smith2021-08-131-15/+15
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Format examples betterTim Smith2021-08-131-6/+6
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Add less bad ruby_block examplesTim Smith2021-08-131-0/+100
| | | | | | | | | | | | | | | | | | I deleted 1/2 of them. Signed-off-by: Tim Smith <tsmith@chef.io>1
* | | Add more descriptionsTim Smith2021-08-133-11/+7
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Add more descriptions to actions for documentationTim Smith2021-08-135-25/+26
| | | | | | | | | | | | | | | | | | Improve the automatically generated docs. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Improve docs generation + update property / action descriptionsTim Smith2021-08-135-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify how we remove the sensitive properties so we don't have to do it multiple times. Add missing action descriptions Improve formatting on some property descriptions Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Add support for provider action descriptionMarc A. Paradise2021-08-114-23/+54
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Often actions are defined on the provider and not on the resource. This change updates Provider to support a description opt when declaring the action, which lets us improve our generated documentation. This also updates ResourceInspector to look at the provider if the resource itself does not offer an action description for a given action. Example: action :foo, description: "bar" do ... end Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | Bump version to 17.4.20 by Chef Expeditorv17.4.20Chef Expeditor2021-08-051-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 17.4.19 by Chef Expeditorv17.4.19Chef Expeditor2021-08-031-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Signed-off-by: Gilbert Liu <zpak@fb.com>Gilbert Liu2021-08-021-17/+17
| | | | | | | | fixing quotes
* | fix mac_user create_user for running without full disk accessGilbert Liu2021-08-021-32/+32
| | | | | | | | Signed-off-by: Gilbert Liu <zpak@fb.com>
* | Bump version to 17.4.18 by Chef Expeditorv17.4.18Chef Expeditor2021-08-021-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 17.4.17 by Chef Expeditorv17.4.17Chef Expeditor2021-08-021-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 17.4.16 by Chef Expeditorv17.4.16Chef Expeditor2021-08-021-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Chef -> Chef Infra Client in error messageTim Smith2021-07-301-2/+2
|/ | | | | | Be more consistent here Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.4.15 by Chef Expeditorv17.4.15Chef Expeditor2021-07-311-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 17.4.14 by Chef Expeditorv17.4.14Chef Expeditor2021-07-311-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11882 from chef/lcg/rename-inspec-attributes-to-inputsTim Smith2021-07-302-2/+18
|\ | | | | Rename inspec attributes to inputs in compliance phase
| * think this has to be CMPL11Lamont Granquist2021-07-291-1/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Rename inspec attributes to inputs in compliance phaseLamont Granquist2021-07-292-2/+18
| | | | | | | | | | | | | | | | | | | | Supports attributes as a fallback. Blows up if you set both. Closes #11572 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 17.4.13 by Chef Expeditorv17.4.13Chef Expeditor2021-07-291-1/+1
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 17.4.12 by Chef Expeditorv17.4.12Chef Expeditor2021-07-291-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 17.4.11 by Chef Expeditorv17.4.11Chef Expeditor2021-07-291-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Turn on chef_node_attribute_enabled for compliance phase by defaultLamont Granquist2021-07-281-1/+1
| | | | | | | | | Getting Chef Infra attributes into Chef Inspec inputs is a FAQ and this seems like an obviously better default. We are unaware of any breaking change this would cause. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 17.4.10 by Chef Expeditorv17.4.10Chef Expeditor2021-07-281-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 17.4.9 by Chef Expeditorv17.4.9Chef Expeditor2021-07-281-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 17.4.8 by Chef Expeditorv17.4.8Chef Expeditor2021-07-281-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 17.4.7 by Chef Expeditorv17.4.7Chef Expeditor2021-07-281-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11661 from chef/yum_repoTim Smith2021-07-282-41/+25
|\ | | | | Cleanup the yum_repository resource