Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chef_vault_secret resource from chef-vault cookbook #9364

Merged
merged 3 commits into from Feb 13, 2020
Merged

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Feb 13, 2020

Move this common resource into Chef itself to avoid the need to include this cookbook.

Signed-off-by: Tim Smith tsmith@chef.io

action :delete do
description "Deletes the item and the item's keys ('id'_keys)."

converge_by("remove #{new_resource.id} and #{new_resource.id}_keys from #{new_resource.data_bag}") do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete doesn't look properly idempotent here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally isn't

@lamont-granquist
Copy link
Contributor

i assume that bug there is years old at this point, so wouldn't consider it a blocker.

Move this common resource into Chef itself to avoid the need to include this cookbook.

Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Pulled from the cookbook. I also sprinkled some chef-utils usage on the existing test.

Signed-off-by: Tim Smith <tsmith@chef.io>
@lock
Copy link

lock bot commented Feb 28, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants