lib/chef/knife/vault_base.rb in chef-vault-2.9.2 vs lib/chef/knife/vault_base.rb in chef-vault-3.0.0.rc1
- old
+ new
@@ -21,13 +21,11 @@
module VaultBase
def self.included(includer)
includer.class_eval do
deps do
require "chef/search/query"
- require File.expand_path("../mixin/compat", __FILE__)
require File.expand_path("../mixin/helper", __FILE__)
- include ChefVault::Mixin::KnifeCompat
include ChefVault::Mixin::Helper
end
option :vault_mode,
:short => "-M MODE",
@@ -38,9 +36,14 @@
end
def show_usage
super
exit 1
+ end
+
+ def configure_chef
+ super
+ ChefVault::Log.logger = Chef::Log.logger
end
private
def bag_is_vault?(bagname)