diff options
author | Tim Smith <tsmith@chef.io> | 2021-09-16 12:55:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 12:55:24 -0700 |
commit | ca914d2c58191eb6eaa12fab1ce38aa40a708f12 (patch) | |
tree | 7a908f720d1eab5cd0ef86f0c51ad448b040c859 | |
parent | aa2de2248e3f871532b32fdbfab0fe33b12dfb97 (diff) | |
parent | adce310bb2b3ececbc879d1e3640529e756e0d72 (diff) | |
download | chef-ca914d2c58191eb6eaa12fab1ce38aa40a708f12.tar.gz |
Merge pull request #12028 from chef/less_scary_beta
Make the beta warning less scary
-rw-r--r-- | lib/chef/dsl/secret.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/chef/dsl/secret.rb b/lib/chef/dsl/secret.rb index b02609c8bb..fecf38edc8 100644 --- a/lib/chef/dsl/secret.rb +++ b/lib/chef/dsl/secret.rb @@ -51,10 +51,8 @@ class Chef # log "My secret is #{value}" def secret(name: nil, version: nil, service: nil, config: {}) Chef::Log.warn <<~EOM.gsub("\n", " ") - The secrets Chef Infra language helper is currently in beta. - This helper will most likely change over time in potentially breaking ways. - If you have feedback or you'd like to be part of the future design of this - helper e-mail us at secrets_management_beta@progress.com" + The secrets Chef Infra language helper is currently in beta. If you have feedback or you'd + like to be part of the future design of this helper e-mail us at secrets_management_beta@progress.com" EOM sensitive(true) if is_a?(Chef::Resource) Chef::SecretFetcher.for_service(service, config, run_context).fetch(name, version) |