lib/chef/knife/encrypt_remove.rb in chef-vault-2.0.2 vs lib/chef/knife/encrypt_remove.rb in chef-vault-2.1.0

- old
+ new

@@ -23,11 +23,11 @@ require File.expand_path('../mixin/helper', __FILE__) include ChefVault::Mixin::KnifeCompat include ChefVault::Mixin::Helper end - banner "knife encrypt remove [VAULT] [ITEM] [VALUES] "\ + banner "knife encrypt remove VAULT ITEM VALUES "\ "--mode MODE --search SEARCH --admins ADMINS" option :mode, :short => '-M MODE', :long => '--mode MODE', @@ -71,13 +71,13 @@ end remove_items.each do |key| key.strip! vault_item.remove(key) - end + end end - + vault_item.clients(search, :delete) if search vault_item.admins(admins, :delete) if admins vault_item.rotate_keys! rescue ChefVault::Exceptions::KeysNotFound, @@ -95,6 +95,6 @@ def show_usage super exit 1 end end - \ No newline at end of file +