sous-chefs / certificate

Development repository for the certificate cookbook
https://supermarket.chef.io/cookbooks/certificate
73 stars 43 forks source link

Fix encrypted data bags #64

Closed detjensrobert closed 3 years ago

detjensrobert commented 3 years ago

Signed-off-by: Robert Detjens detjensrobert@osuosl.org

Description

63 broke reading of encrypted data bags by manually specifying the wrong secret. The secret does not need a default, since data_bag_item will load the correct default secret if none is specified. If a secret is manually specified, that is used instead of _item's default as before.

This PR also reintroduces the encrypted data bag test.

Issues Resolved

Check List

kitchen-porter commented 3 years ago

Released as: 2.0.1