summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump chef/ohai to e241cfd3dc29468899540b84a0e071150f9b1931expeditor/chef/ohai_e241cfd3dc29468899540b84a0e071150f9b1931Chef Expeditor2021-07-201-6/+6
| | | | | | This pull request was triggered automatically via Expeditor when e241cfd3dc29468899540b84a0e071150f9b1931 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.42 by Chef Expeditorv17.3.42Chef Expeditor2021-07-198-20/+21
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11833 from chef/run_list_configTim Smith2021-07-192-3/+9
|\ | | | | chef_client_config: Add the ability to set policy_persist_run_list
| * chef_client_config: Add the ability to set policy_persist_run_listTim Smith2021-07-192-3/+9
|/ | | | | | Make this super simple to enable. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.3.41 by Chef Expeditorv17.3.41Chef Expeditor2021-07-198-20/+21
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11802 from chef/mp/azure-key-vaultMarc A. Paradise2021-07-1910-47/+162
|\ | | | | Secrets: Azure Key Vault fetcher; versioned secret support
| * rubocop fixesMarc A. Paradise2021-07-155-7/+9
| | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * Add experimental fetcher for Azure Key VaultMarc A. Paradise2021-07-155-3/+129
| | | | | | | | | | | | | | | | | | | | Usage in a recipe looks like this: value = secret(name: "test1", version: "v1", service: :azure_key_vault, config: { vault: "myvault" } ) Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * Allow versioned secrets via DSLMarc A. Paradise2021-07-156-46/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Versioning is commonly supported across most major secrets services. This change allows the DSL to support fetching a specific secret version. Implementations are expected to default to fetching the most recent version when no version is provided. Usage: secret(name: 'secret1', version: 'version1', service: :example) Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | Bump version to 17.3.40 by Chef Expeditorv17.3.40Chef Expeditor2021-07-178-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11830 from vkarve-chef/update-unshare-error-messageTim Smith2021-07-171-1/+2
|\ \
| * \ Merge branch 'chef:master' into update-unshare-error-messagevkarve-chef2021-07-1712-83/+184
| |\ \ | |/ / |/| |
* | | Bump version to 17.3.39 by Chef Expeditorv17.3.39Chef Expeditor2021-07-168-21/+22
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #11803 from chef/lcg/policyfile-run-listLamont Granquist2021-07-163-61/+160
|\ \ \
| * | | Use a helper for determining if the manual run_list persistsLamont Granquist2021-07-131-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since I missed a clause in one check here, and it is duplicated, it should probably be a helper method. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | Update lib/chef/policy_builder/policyfile.rbLamont Granquist2021-07-131-1/+1
| | | | | | | | | | | | Co-authored-by: Tim Smith <tsmith@chef.io>
| * | | Support command line setting of run_list with policyfilesLamont Granquist2021-07-133-61/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow temporarily setting the run list to a different setting and still having the node saved (complimentary to setting an override run list which does not save the node). This can be used inside of test-kitchen for setting the run_list to a fixture cookbook that is not in the policyfile without needing to go through named_run_lists. This can also be used with -j or -r on provisioning to run a bootstrapping recipe, which will then be overridden by the policyfile. A switch is included to cause the node.run_list setting from the -j or -r setting (or setting via code with `node.run_list <<`) to persist and to override the policyfile. This is for sites which have adopted complicated run_list mutating workflows to make it so they can set Chef::Config[:policy_persist_run_list] to true and will be able to migrate those workflows more easily to a policyfile world. When it is run in this configuration it will always print a WARN level message that the policyfile is being overridden since it is not intended that the common state of the server would be to ignore the policyfile run_list. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | Bump version to 17.3.38 by Chef Expeditorv17.3.38Chef Expeditor2021-07-168-20/+21
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #11827 from ↵Tim Smith2021-07-161-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | chef/dependabot/bundler/omnibus/master/omnibus-software-237c0a4 Bump omnibus-software from `cdef22f` to `237c0a4` in /omnibus
| * | | Bump omnibus-software from `cdef22f` to `237c0a4` in /omnibusdependabot[bot]2021-07-161-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `cdef22f` to `237c0a4`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/cdef22f0276e2e7272d3811bb459109b7e67a2bf...237c0a49b458da92cc6cdfbc488b8455f848f1c4) --- updated-dependencies: - dependency-name: omnibus-software dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
| | * Updated error message displayed when cookbook unshare fails. Addresses ↵Vikram Karve2021-07-171-1/+2
| |/ |/| | | | | | | | | https://github.com/chef/chef/issues/8056 Signed-off-by: Vikram Karve <vikram.karve@progress.com>
* | Bump version to 17.3.37 by Chef Expeditorv17.3.37Chef Expeditor2021-07-158-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11822 from ↵Tim Smith2021-07-151-2/+2
|\ \ | | | | | | | | | | | | chef/dependabot/bundler/omnibus/master/omnibus-6d109b6 Bump omnibus from `5803fdc` to `6d109b6` in /omnibus
| * | Bump omnibus from `5803fdc` to `6d109b6` in /omnibusdependabot[bot]2021-07-151-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Bumps [omnibus](https://github.com/chef/omnibus) from `5803fdc` to `6d109b6`. - [Release notes](https://github.com/chef/omnibus/releases) - [Commits](https://github.com/chef/omnibus/compare/5803fdc6bda3fab75877415d5e898b166632aec3...6d109b6cd7bf35e4d0f4ca0bb5378b1d430e44df) --- updated-dependencies: - dependency-name: omnibus dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* | Bump version to 17.3.36 by Chef Expeditorv17.3.36Chef Expeditor2021-07-158-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 17.3.35 by Chef Expeditorv17.3.35Chef Expeditor2021-07-158-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Update dependabot.ymlTim Smith2021-07-151-2/+2
| | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update dependabot.ymlTim Smith2021-07-151-1/+12
| | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.3.34 by Chef Expeditorv17.3.34Chef Expeditor2021-07-158-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11815 from ↵Tim Smith2021-07-151-1/+1
|\ \ | | | | | | | | | | | | chef/dependabot/bundler/omnibus/omnibus-software-cdef22f Bump omnibus-software from `e9feb35` to `cdef22f` in /omnibus
| * | Bump omnibus-software from `e9feb35` to `cdef22f` in /omnibusdependabot[bot]2021-07-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `e9feb35` to `cdef22f`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/e9feb357a695b6d022e7da2bb535baf5d53e8e84...cdef22f0276e2e7272d3811bb459109b7e67a2bf) --- updated-dependencies: - dependency-name: omnibus-software dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* | | Merge pull request #11814 from chef/dependabot/bundler/omnibus/omnibus-5803fdcTim Smith2021-07-151-4/+4
|\ \ \ | |/ / |/| | Bump omnibus from `5c1b453` to `5803fdc` in /omnibus
| * | Bump omnibus from `5c1b453` to `5803fdc` in /omnibusdependabot[bot]2021-07-151-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Bumps [omnibus](https://github.com/chef/omnibus) from `5c1b453` to `5803fdc`. - [Release notes](https://github.com/chef/omnibus/releases) - [Commits](https://github.com/chef/omnibus/compare/5c1b453f577c54ab4b75c45e5949906bd916371a...5803fdc6bda3fab75877415d5e898b166632aec3) --- updated-dependencies: - dependency-name: omnibus dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #11807 from chef/dependabotTim Smith2021-07-151-0/+11
|\ \ | | | | | | Add dependabot config
| * | Add dependabot configTim Smith2021-07-141-0/+11
|/ / | | | | | | | | | | They fixed their bundler issue by upgrading Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.3.33 by Chef Expeditorv17.3.33Chef Expeditor2021-07-148-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11806 from chef/aws_cleanupTim Smith2021-07-141-11/+11
|\ \ | | | | | | Don't cleanup the VERSION file in the aws gem install
| * | Don't cleanup the VERSION file in the aws gem installTim Smith2021-07-141-11/+11
|/ / | | | | | | | | | | | | We need that file. Also remove the fauxhai cleanup since we don't ship that gem anymore. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.3.32 by Chef Expeditorv17.3.32Chef Expeditor2021-07-147-17/+17
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11805 from chef/lcg/fix-ssh-specsLamont Granquist2021-07-141-1/+1
|\ \ | | | | | | Fix busted ssh unit specs
| * | Fix busted ssh unit specsLamont Granquist2021-07-141-1/+1
|/ / | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 17.3.31 by Chef Expeditorv17.3.31Chef Expeditor2021-07-148-23/+24
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11791 from chef/mp/aws-secrets-managerMarc A. Paradise2021-07-146-5/+94
|\ \ | | | | | | Experimental support for an AWS Secrets Fetcher
| * | Fetch from AWS Secrets Manager now returns valueMarc A. Paradise2021-07-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The secret value is now returned instead of the object wrapper provided by the AWS SKD. Usage in recipe now looks like this: value = secret(name: "test1", service: :aws_secrets_manager, config: { region: "us-west-1" }) log "My secret is #{value}" Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | disable a rubocop ruleTim Smith2021-07-141-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Chefstyle fixesTim Smith2021-07-142-2/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Experimental support for an AWS Secrets FetcherMarc A. Paradise2021-07-146-5/+92
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a recipe, usage will look like the following: value = secret(name: "test1", service: :aws_secrets_manager, config: { region: "us-west-1" }) log "My secret is #{value.secret_string}" Note the use of `secret_string` to determine the secret value. The returned object here is Aws::Types::GetSecretValueResponse from the AWS SDK. This beta implementation supports ec2/imds instance profile authentication but also checks standard locations for credentials configuration -- see documentation [1] for a description of default credentials search behavior. [1] https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#initialize-instance_method Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | Bump version to 17.3.30 by Chef Expeditorv17.3.30Chef Expeditor2021-07-148-20/+21
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11804 from chef/lcg/policyfile-compat-deprecation2Tim Smith2021-07-143-1/+20
|\ \ | | | | | | Deprecate the old policyfile compat mode
| * | The deprecation number got lostLamont Granquist2021-07-131-0/+4
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>