summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update chef-config/lib/chef-config/config.rbavoid_config_callsLamont Granquist2022-01-181-1/+2
| | | Co-authored-by: pete higgins <pete@peterhiggins.org>
* Avoid calculating self.etc_chef_dir multiple times on startupTim Smith2021-07-281-2/+4
| | | | | | Running chef-apply we calculated this value 5 times. We also have several other resources that use this method which would again have to be calculated. Each of those calculations run the PathHelper.join which involves a whole series of terrible string manipulations. Just calculate this once and be done with it. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #11867 from chef/mp/11852Tim Smith2021-07-283-26/+53
|\ | | | | Allow az vault name to be included in secret name
| * Allow az vault name to be included in secret nameMarc A. Paradise2021-07-273-26/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This modifies the `:azure_key_vault` fetcher so that it's possible to fetch a secret by embedding the vault name in the secret name instead of providing it in configuration. This continues down the path of making secrets accessible with less typing and sane default expectations. Example: ``` file "/home/ubuntu/test2" do content secret(name: "test-chef-infra-secrets/test-secret-1", service: :azure_key_vault) end ``` Specifying vault name via configuration is still supported, but if it is specified in the secret name as well that will take precedence. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | Bump version to 17.4.5 by Chef Expeditorv17.4.5Chef Expeditor2021-07-288-21/+22
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11871 from chef/nkierpiec/test-arm64-docker-buildsTim Smith2021-07-285-3/+86
|\ \ | | | | | | Add custom docker pipeline for multiarch builds
| * | update manifest to create after images are builtNathaniel Kierpiec2021-07-284-11/+20
| | | | | | | | | | | | Signed-off-by: Nathaniel Kierpiec <nkierpiec@chef.io>
| * | use expeditor version so we dont lose track of the correct version when ↵Nathaniel Kierpiec2021-07-281-11/+9
| | | | | | | | | | | | | | | | | | promotions happen Signed-off-by: Nathaniel Kierpiec <nkierpiec@chef.io>
| * | fix syntax of yaml in configNathaniel Kierpiec2021-07-281-1/+1
| | | | | | | | | | | | Signed-off-by: Nathaniel Kierpiec <nkierpiec@chef.io>
| * | add edits for config changes to use new pipeline and promotionNathaniel Kierpiec2021-07-281-2/+4
| | | | | | | | | | | | Signed-off-by: Nathaniel Kierpiec <nkierpiec@chef.io>
| * | Add new general use pipeline for building on multiple os/archNathaniel Kierpiec2021-07-283-17/+68
| | | | | | | | | | | | Signed-off-by: Nathaniel Kierpiec <nkierpiec@chef.io>
| * | test arm64 docker buildsNathaniel Kierpiec2021-07-161-0/+23
| | | | | | | | | | | | Signed-off-by: Nathaniel Kierpiec <nkierpiec@chef.io>
* | | Bump version to 17.4.4 by Chef Expeditorv17.4.4Chef Expeditor2021-07-278-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11869 from chef/expeditor/_train-core_3.8.1Tim Smith2021-07-271-1/+1
|\ \ \ | | | | | | | | Bump train-core to 3.8.1
| * | | Bump train-core to 3.8.1Chef Expeditor2021-07-271-1/+1
|/ / / | | | | | | | | | | | | | | | This pull request was triggered automatically via Expeditor when train-core 3.8.1 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.4.3 by Chef Expeditorv17.4.3Chef Expeditor2021-07-278-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11531 from ↵Marc A. Paradise2021-07-272-4/+4
|\ \ \ | |_|/ |/| | | | | | | | MsysTechnologiesllc/SangmeshA/Fix_Knife_Boostrap_using_ssh_config_file Fixed issues facing while bootstrapping the node using ssh config file.
| * | Resolved chefstyle issuesanga172021-07-021-1/+1
| | | | | | | | | | | | Signed-off-by: sanga17 <sausekar@msystechnologies.com>
| * | Reverted some changes as per review comments and updated method as opts_in ↵sanga172021-07-023-17/+10
| | | | | | | | | | | | | | | | | | missing user and port variables Signed-off-by: sanga17 <sausekar@msystechnologies.com>
| * | Fetched user from ssh file if user not added in clisanga172021-07-021-1/+1
| | | | | | | | | | | | Signed-off-by: sanga17 <sausekar@msystechnologies.com>
| * | Failing specs resolvedsanga172021-07-022-3/+7
| | | | | | | | | | | | Signed-off-by: sanga17 <sausekar@msystechnologies.com>
| * | Fixed issues facing while bootstrapping the node using ssh config filesanga172021-07-022-3/+6
| | | | | | | | | | | | Signed-off-by: sanga17 <sausekar@msystechnologies.com>
* | | Bump version to 17.4.2 by Chef Expeditorv17.4.2Chef Expeditor2021-07-278-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11864 from chef/bumps_everythingTim Smith2021-07-263-9/+9
|\ \ \ | | | | | | | | Bump all deps and resolve a chefstyle warning
| * | | Bump all deps and resolve a chefstyle warningTim Smith2021-07-263-9/+9
|/ / / | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Chefstyle fixesTim Smith2021-07-262-4/+4
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 17.4.1 by Chef Expeditorv17.4.1Chef Expeditor2021-07-268-20/+21
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11842 from byplayer/homebrew_cask_name_issueTim Smith2021-07-262-12/+30
|\ \ \ | | | | | | | | Support '-' and '@' for homebrew cask name
| * | | Remove duplicated testsbyplayer2021-07-261-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To clarify what I want to do test in this change I remove duplicated test based on @tas50 review comment. Signed-off-by: byplayer <byplayer100@gmail.com>
| * | | Support '-' and '@' for homebrew cask namebyplayer2021-07-212-12/+56
| | | | | | | | | | | | | | | | | | | | Some cask name include '-' and '@' so I fix regular expression for cask name validation.
* | | | Bump version to 17.4.0 by Chef Expeditorv17.4.0Chef Expeditor2021-07-268-20/+21
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #11853 from chef/mp/11851Tim Smith2021-07-268-24/+117
|\ \ \ \ | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | secrets: aws fetcher uses node attributes for regionMarc A. Paradise2021-07-262-4/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When region is not specified and is not in AWS global configuration, we'll now default to the region in `node["ec2"]["region"]`; and we will fail if that is also not provided. This provides a sane and predictable way to play nicely with AWS SDK's default config loading behavior. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | | | Provide run context to secret fetchersMarc A. Paradise2021-07-266-20/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow them to use node attributes for configuration, such as ohai data for determining region. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | | | | Merge pull request #11858 from chef/16.14_notesTim Smith2021-07-261-0/+82
|\ \ \ \ \ | | | | | | | | | | | | Add release notes for 16.14
| * | | | | Update RELEASE_NOTES.md Tim Smith2021-07-261-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
| * | | | | Update RELEASE_NOTES.md Tim Smith2021-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
| * | | | | Update RELEASE_NOTES.md Tim Smith2021-07-261-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
| * | | | | Add release notes for 16.14Tim Smith2021-07-231-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | Bump version to 17.3.50 by Chef Expeditorv17.3.50Chef Expeditor2021-07-268-20/+21
| | | | | | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | | Merge pull request #11856 from ↵Tim Smith2021-07-262-2/+2
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | MsysTechnologiesllc/antima/removed_space_arround_equal_sign_systemd_unit systemd_unit generates invalid units when passing a hash issue fix
| * | | | | Fixed chefstyle failure.antima-gupta2021-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: antima-gupta <agupta@msystechnologies.com>
| * | | | | Fixed generates systemd service should not have spaces around the equal signs.antima-gupta2021-07-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed testcase failure. Signed-off-by: antima-gupta <agupta@msystechnologies.com>
* | | | | | Merge pull request #11861 from ↵Tim Smith2021-07-231-5/+5
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | chef/expeditor/chef/chefstyle_94d8e807a86d2f19e89c2573aef5d257414068ee Bump chef/chefstyle to 94d8e807a86d2f19e89c2573aef5d257414068ee
| * | | | | Bump chef/chefstyle to 94d8e807a86d2f19e89c2573aef5d257414068eeChef Expeditor2021-07-241-5/+5
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | This pull request was triggered automatically via Expeditor when 94d8e807a86d2f19e89c2573aef5d257414068ee 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.3.49 by Chef Expeditorv17.3.49Chef Expeditor2021-07-238-19/+27
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Merge pull request #11849 from chef/expeditor/_inspec-core-bin_4.38.9Tim Smith2021-07-231-3/+3
|\ \ \ \ \ | |/ / / / |/| | | | Bump inspec-core-bin to 4.38.9
| * | | | Bump inspec-core-bin to 4.38.9Chef Expeditor2021-07-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pull request was triggered automatically via Expeditor when inspec-core-bin 4.38.9 was promoted to Rubygems. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | | | | Fix typoTim Smith2021-07-221-1/+1
|/ / / / | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Update CHANGELOG.md to reflect the promotion of 17.3.48Chef Expeditor2021-07-212-68/+65
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.