diff options
Diffstat (limited to 'kitchen-tests/cookbooks/end_to_end/recipes/_chef-vault.rb')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/_chef-vault.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/_chef-vault.rb b/kitchen-tests/cookbooks/end_to_end/recipes/_chef-vault.rb index aa01982e3d..8f1d40ff49 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/_chef-vault.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/_chef-vault.rb @@ -33,11 +33,11 @@ end ruby_block "load vault item" do block do - begin - chef_vault_item("creds", "super_secret_1") - rescue ChefVault::Exceptions::SecretDecryption - puts "Not authorized for this key!" - end + + chef_vault_item("creds", "super_secret_1") + rescue ChefVault::Exceptions::SecretDecryption + puts "Not authorized for this key!" + end action :run end |