summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix habitat argument passing in Windows test script.debug-windows-habPete Higgins2020-09-041-2/+15
| | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Bump version to 16.5.29 by Chef Expeditorv16.5.29Chef Expeditor2020-09-047-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10386 from chef/remove_profileTim Smith2020-09-041-4/+5
|\ | | | | Allow removing profiles in osx_profile on Big Sur
| * Allow removing profiles in osx_profile on Big SurTim Smith2020-09-041-4/+5
| | | | | | | | | | | | | | | | Users may want to cleanup old profiles after upgrading a Catalina box to Big Sur. We should allow for that. It's just installing new profiles where we need to fail hard. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.5.28 by Chef Expeditorv16.5.28Chef Expeditor2020-09-047-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10385 from chef/bumpsTim Smith2020-09-042-12/+12
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update all deps to currentTim Smith2020-09-042-12/+12
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.5.27 by Chef Expeditorv16.5.27Chef Expeditor2020-09-047-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10381 from chef/niceTim Smith2020-09-033-1/+44
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update kitchen-tests/cookbooks/end_to_end/recipes/linux.rb niceTim Smith2020-09-031-1/+1
| | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
| * chef_client_systemd_timer: Add the ability to set CPUQuota on the ↵Tim Smith2020-09-033-1/+44
|/ | | | | | | | chef-client unit This allows us to set a quota like 50% on everything handled by the chef-client including all the sub-processes like ohai or inspec. I looked at using systemd's nice functionality since that would give us a unified property for all the *nix processes, but that only applies to the chef-client process itself. This is much more powerful and gives users what user's probably really want which is "chef and all its stuff should not consume all the CPU on my host". Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #10372 from chef/shell-test-cleanupTim Smith2020-09-023-86/+97
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Set correct config value.shell-test-cleanupPete Higgins2020-09-011-1/+1
| | | | | | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
| * Cleanup tests to make test setup more consistent.Pete Higgins2020-09-011-41/+34
| | | | | | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
| * Move code to where it is used and remove top level constants.Pete Higgins2020-09-013-44/+62
| | | | | | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* | Bump version to 16.5.26 by Chef Expeditorv16.5.26Chef Expeditor2020-09-017-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10369 from chef/remove_duplicate_requiresTim Smith2020-09-011-4/+0
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove duplicate requires in the Provider classTim Smith2020-09-011-4/+0
|/ | | | | | We're requiring these already at the top of the file Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.5.25 by Chef Expeditorv16.5.25Chef Expeditor2020-08-287-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10362 from chef/client_updatesTim Smith2020-08-285-50/+103
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Use bash to run sleep/chef-client in chef_client_launchdclient_updatesTim Smith2020-08-272-17/+14
| | | | | | | | | | | | My googling tells me this is the recommended way to run multiple commands. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix specs on windowsTim Smith2020-08-271-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add splay property to chef_client_launchdTim Smith2020-08-272-25/+78
| | | | | | | | | | | | Use the same splay method we used in chef_client_cron resource. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Rename the cron_command method for easier diffingTim Smith2020-08-272-21/+21
| | | | | | | | | | | | This makes the specs easier to diff. I also shuffled around some specs Signed-off-by: Tim Smith <tsmith@chef.io>
| * chef_client_scheduled_task updates to formattingTim Smith2020-08-271-2/+5
| | | | | | | | | | | | This makes it easier to diff with the cookbook Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.5.24 by Chef Expeditorv16.5.24Chef Expeditor2020-08-287-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10171 from ↵Tim Smith2020-08-285-0/+182
|\ \ | |/ |/| | | | | MsysTechnologiesllc/antima/bind_mounts_not_idempotent_fixes Signed-off-by: Tim Smith <tsmith@chef.io>
| * removed unnecessary 'ostruct' from linux mount provider spec.antima-gupta2020-08-284-2/+4
| | | | | | | | | | | | | | Added permalink for Regex. Renamed the linux_mount recipe file to mount in kitechen-tests. Signed-off-by: antima-gupta <agupta@msystechnologies.com>
| * Update changes as per review comment.antima-gupta2020-08-271-39/+46
| | | | | | | | Signed-off-by: antima-gupta <agupta@msystechnologies.com>
| * Added context in the linux mount provider specantima-gupta2020-08-271-60/+64
| | | | | | | | Signed-off-by: antima-gupta <agupta@msystechnologies.com>
| * Updated the author.antima-gupta2020-08-271-4/+6
| | | | | | | | | | | | Added comment for mounted? method. Signed-off-by: antima-gupta <agupta@msystechnologies.com>
| * Fixed mount Resource for bind mounts is not idempotent.antima-gupta2020-08-275-0/+167
| | | | | | | | | | | | | | | | Added a separate linux mount provider. Define 'mounted?' method and used 'findmnt -rn' command to list mount points along with device. Added linux_mount recipe to kitchen-tests. Signed-off-by: antima-gupta <agupta@msystechnologies.com>
* | Bump version to 16.5.23 by Chef Expeditorv16.5.23Chef Expeditor2020-08-277-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10363 from chef/inspecTim Smith2020-08-272-15/+7
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update InSpec to 4.22.22Tim Smith2020-08-272-15/+7
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.5.22 by Chef Expeditorv16.5.22Chef Expeditor2020-08-277-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10361 from chef/launchd_cleanupTim Smith2020-08-261-7/+7
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * chef_client_launchd: reorder properties and fix log permissionslaunchd_cleanupTim Smith2020-08-261-7/+7
|/ | | | | | | Use 750 as we do in the cron resource Fix property order so we can diff things more easily Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.5.21 by Chef Expeditorv16.5.21Chef Expeditor2020-08-267-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.5.20 by Chef Expeditorv16.5.20Chef Expeditor2020-08-267-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10357 from chef/better_launchd_propertiesTim Smith2020-08-262-4/+29
|\ | | | | Improve input handling and validation in chef_client_launchd
| * an Integer not a IntegerTim Smith2020-08-261-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Set the default nice value to nil not 0Tim Smith2020-08-261-2/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Rename the spec fileTim Smith2020-08-261-0/+0
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Improve input handling and validation in chef_client_launchdbetter_launchd_propertiesTim Smith2020-08-262-3/+29
| | | | | | | | | | | | | | | | Validate correct nice ranges Make sure interval is a positive value Allow nice and interval to be input as Strings Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #10358 from chef/add_back_niceTim Smith2020-08-262-0/+28
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Typos typos everywhereTim Smith2020-08-261-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add back nice functionality to chef_client_cronTim Smith2020-08-262-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | This was in the cookbook recipe before and was useful for low resource systems where the client could impact host operations. Since we support this in launchd now, it makes sense to do it here as well. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.5.19 by Chef Expeditorv16.5.19Chef Expeditor2020-08-267-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #10359 from chef/launchd_niceTim Smith2020-08-262-1/+10
|\ \ \ | |/ / |/| | Signed-off-by: Tim Smith <tsmith@chef.io>