summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Updated the Windows code to use Rename-Computer, added properties for a ↵John McCrae2021-05-061-2/+33
|/ / | | | | | | | | | | domain username and password. Signed-off-by: John McCrae <jmccrae@chef.io>
* | Bump version to 17.1.19 by Chef Expeditorv17.1.19Chef Expeditor2021-05-068-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11535 from chef/lcg/dnf-spec-upgradeLamont Granquist2021-05-063-555/+877
|\ \ | | | | | | DNF provider update
| * | DNF provider updateLamont Granquist2021-05-063-555/+877
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - stabilization fixes to the provider - we now no longer retry in specs and fail on any errors - we disable all the repos in the specs for speed - we only reap the daemon to flush the cache in the specs - we also only reap the daemon after having setup repos - all the func specs have been converted to inline resources - all the i/o is now blocking+flushing instead of nonblocking+confusing (how did it all ever work? why did i use nonblocking i/o?) Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 17.1.18 by Chef Expeditorv17.1.18Chef Expeditor2021-05-068-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11533 from chef/jfm/win_sec_polTim Smith2021-05-061-0/+3
|\ \ \ | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * \ \ Merge branch 'jfm/win_sec_pol' of github.com:chef/chef into jfm/win_sec_polJohn McCrae2021-05-060-0/+0
| |\ \ \
| | * | | 'LockoutThreshold' is actually implemented by Windows as LockoutBadCount. ↵John McCrae2021-05-061-0/+2
| | |/ / | | | | | | | | | | | | | | | | | | | | What shows up in an Account Lockout Policy is Account Lockout Threshold but what gets written to disk when you change it is LockoutBadCount. That item is available in the list of existing policy objects. I updated the code to add AuditPolicyChange; that was mssing. I also added ResetLockoutCount which pairs with the Lockout Threshold so users aren't permanently locked out. The last item, LockoutObservationWindow, does not appear in a Security Policy as exported by secedit but you can get to it via PowerShell. It is part of a customized fine grain password policy. Read more here: http://woshub.com/fine-grained-password-policy-in-windows-server-2012-r2/ Signed-off-by: John McCrae <jmccrae@chef.io>
| * | | updated a comment to force a rebuildJohn McCrae2021-05-061-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: John McCrae <jmccrae@chef.io>
| * | | 'LockoutThreshold' is actually implemented by Windows as LockoutBadCount. ↵John McCrae2021-05-061-0/+2
|/ / / | | | | | | | | | | | | | | | What shows up in an Account Lockout Policy is Account Lockout Threshold but what gets written to disk when you change it is LockoutBadCount. That item is available in the list of existing policy objects. I updated the code to add AuditPolicyChange; that was mssing. I also added ResetLockoutCount which pairs with the Lockout Threshold so users aren't permanently locked out. The last item, LockoutObservationWindow, does not appear in a Security Policy as exported by secedit but you can get to it via PowerShell. It is part of a customized fine grain password policy. Read more here: http://woshub.com/fine-grained-password-policy-in-windows-server-2012-r2/ Signed-off-by: John McCrae <jmccrae@chef.io>
* | | Bump version to 17.1.17 by Chef Expeditorv17.1.17Chef Expeditor2021-05-058-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11525 from chef/expeditor/inspec-core-bin_4.37.0Tim Smith2021-05-051-4/+4
|\ \ \ | |/ / |/| | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Bump inspec-core-bin to 4.37.0Chef Expeditor2021-05-051-4/+4
|/ / | | | | | | | | | | This pull request was triggered automatically via Expeditor when inspec-core-bin 4.37.0 was promoted to Rubygems. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | Bump version to 17.1.16 by Chef Expeditorv17.1.16Chef Expeditor2021-05-057-17/+17
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11521 from chef/lcg/make-it-stopLamont Granquist2021-05-041-1/+1
|\ \ | | | | | | Stop the endless File.exists? spam from chef/node
| * | Stop the endless File.exists? spam from chef/nodeLamont Granquist2021-05-041-1/+1
|/ / | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 17.1.15 by Chef Expeditorv17.1.15Chef Expeditor2021-05-058-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11520 from chef/lcg/no-deprecation-for-deprecated-resourcesLamont Granquist2021-05-042-8/+22
|\ \ | | | | | | Suppress unified mode deprecation warning for deprecated resources
| * | Suppress unified mode deprecation warning for deprecated resourcesLamont Granquist2021-05-042-8/+22
| | | | | | | | | | | | | | | | | | | | | This suppressses the unified_mode warning for any resources that have been deprecated via the chef_version_for_provides mechanism. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 17.1.14 by Chef Expeditorv17.1.14Chef Expeditor2021-05-058-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11519 from chef/lcg/edit-resource-unified-mode-fixLamont Granquist2021-05-043-12/+83
|\ \ \ | |/ / |/| | Fix edit_resource usage in unified_mode
| * | Fix edit_resource usage in unified_modeLamont Granquist2021-05-043-12/+83
| | | | | | | | | | | | | | | | | | | | | | | | This makes edit_resource "atomic" so that in unified_mode the block is played against the resource being built before it is added to the resource collection and unified_mode fires the resource. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | fix mangled commentLamont Granquist2021-05-041-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Merge pull request #11518 from chef/lcg/fix-yum-specsLamont Granquist2021-05-042-0/+2
|\ \ \ | | | | | | | | Fix yum specs
| * | | Fix yum specsLamont Granquist2021-05-042-0/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Reset the singleton instance before starting the test, because singletons. Also better clears up some internal state when the daemon gets reaped Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Merge pull request #11445 from chef/tduffield/remove-install-logic-17Tom Duffield2021-05-042-68/+9
|\ \ \ | | | | | | | | Remove pipeline-specific logic from test scripts
| * | | Remove pipeline-specific logic from test scriptstduffield/remove-install-logic-17Tom Duffield2021-04-232-68/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This logic has been moved into the Omnibus Buildkite Plugin. These scripts can now be used outside of the Buildkite pipelines. Signed-off-by: Tom Duffield <github@tomduffield.com>
* | | | Bump version to 17.1.13 by Chef Expeditorv17.1.13Chef Expeditor2021-05-038-20/+21
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #11512 from gene1wood/fix_systemd_unitTim Smith2021-05-032-3/+3
|\ \ \ \ | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Fix bug causing systemd units to always re-enable and re-startGene Wood2021-05-032-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In #10925 the method of fetching the current systemd unit status was changed. In this change a typo was introduced which caused the systemctl command which should look like this `/usr/bin/systemctl --system show -p UnitFileState -p ActiveState apache2.service` to instead look like this `/usr/bin/systemctl --system show -p UnitFileState -p ActiveState apache2.service {}` The result is that instead of a response like this ``` ActiveState=active UnitFileState=enabled ``` Chef gets ``` ActiveState=active UnitFileState=enabled ActiveState=inactive UnitFileState= ``` which is the status of the service followed by the status of a bogus service called "{}" This results in Chef always thinking that systemd unit's are not active and not enabled and every Chef run attempts to enable and start the already enabled and started services. This is the same type of issue that was fixed in #11497 which applied to the systemd provider. That bug was introduced in #10776. This fixes the bug by expanding the splat with a preceding `**` Signed-off-by: Gene Wood <gene_wood@cementhorizon.com>
* | | | | Bump version to 17.1.12 by Chef Expeditorv17.1.12Chef Expeditor2021-05-038-20/+21
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Merge pull request #11511 from ↵Tim Smith2021-05-031-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | chef/expeditor/chef/ohai_00e12a5deb261ae20c330cb72fc2909ad3d20372 Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Bump chef/ohai to 00e12a5deb261ae20c330cb72fc2909ad3d20372Chef Expeditor2021-05-031-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | This pull request was triggered automatically via Expeditor when 00e12a5deb261ae20c330cb72fc2909ad3d20372 was merged. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | | | Bump version to 17.1.11 by Chef Expeditorv17.1.11Chef Expeditor2021-05-038-20/+21
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #11509 from chef/fix_windows_omnibusTim Smith2021-05-031-3/+82
|\ \ \ \ | | | | | | | | | | Add back windows deps to omnibus
| * | | | Add back windows deps to omnibusTim Smith2021-05-031-3/+82
|/ / / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 17.1.10 by Chef Expeditorv17.1.10Chef Expeditor2021-05-038-20/+21
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #11488 from chef/remove_knife_depsTim Smith2021-05-035-48/+17
|\ \ \ \ | |_|/ / |/| | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Make sure knife gemfile actually installs knifeTim Smith2021-05-031-0/+7
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Improve rake loggingTim Smith2021-05-031-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Remove knife deps from the chef gemspecTim Smith2021-05-033-48/+8
|/ / / | | | | | | | | | | | | | | | This should help us slim the size of the install down and it should also greatly speed up testing anything that deps directly on chef. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 17.1.9 by Chef Expeditorv17.1.9Chef Expeditor2021-05-038-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11497 from ramereth/issue-11496Lamont Granquist2021-05-032-3/+3
|\ \ \ | | | | | | | | Fix systemd service state detection
| * | | Fix systemd service state detectionLance Albertson2021-05-032-3/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | Resolves #11496 This adds a missing double splat which is required when using Ruby 3.0. Signed-off-by: Lance Albertson <lance@osuosl.org>
* | | Bump version to 17.1.8 by Chef Expeditorv17.1.8Chef Expeditor2021-05-038-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11503 from ↵Tim Smith2021-05-021-5/+5
|\ \ \ | | | | | | | | | | | | | | | | chef/expeditor/chef/ohai_947a97d47daa1dce6aa7b91f2057b15451805b25 Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Bump chef/ohai to 947a97d47daa1dce6aa7b91f2057b15451805b25Chef Expeditor2021-05-021-5/+5
|/ / / | | | | | | | | | | | | | | | This pull request was triggered automatically via Expeditor when 947a97d47daa1dce6aa7b91f2057b15451805b25 was merged. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | | Bump version to 17.1.7 by Chef Expeditorv17.1.7Chef Expeditor2021-05-028-21/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11502 from chef/file_exists_directoryTim Smith2021-05-022-7/+7
|\ \ \ | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Resolve File.exists? in directory providerTim Smith2021-05-022-7/+7
|/ / / | | | | | | | | | | | | | | | One more down Signed-off-by: Tim Smith <tsmith@chef.io>