summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-09-14 20:12:29 -0700
committerTim Smith <tsmith84@gmail.com>2021-09-14 20:12:29 -0700
commitadce310bb2b3ececbc879d1e3640529e756e0d72 (patch)
tree7a908f720d1eab5cd0ef86f0c51ad448b040c859
parentaa2de2248e3f871532b32fdbfab0fe33b12dfb97 (diff)
downloadchef-less_scary_beta.tar.gz
Make the beta warning less scaryless_scary_beta
Also make it smaller Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/dsl/secret.rb6
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)