Forcing users to use data bags for credentials is too limiting.
Example use case:
In sentry wrapper cookbook:
- Randomly generate credentials and store them using https://github.com/zuazo/chef-encrypted-attributes
- Populate run_state with plain text values
node.run_state["sentry_credentials"] = {........}
- Include sentry recipe
in sentry::_configure I was thinking a minor edit like this:
if node.run_state["sentry_credentials"]
sentry_config = node.run_state["sentry_credentials"]
else
sentry_config = data_bag_item(
node["sentry"]["data_bag"],
node["sentry"]["data_bag_item"]
)
end
If that would be acceptable or if you have a different idea please let me know and I will create a pull request.
Forcing users to use data bags for credentials is too limiting.
Example use case:
In sentry wrapper cookbook:
node.run_state["sentry_credentials"] = {........}in sentry::_configure I was thinking a minor edit like this:
If that would be acceptable or if you have a different idea please let me know and I will create a pull request.