lib/chef-vault.rb in chef-vault-2.9.2 vs lib/chef-vault.rb in chef-vault-3.0.0.rc1
- old
+ new
@@ -27,13 +27,15 @@
require "chef-vault/exceptions"
require "chef-vault/item"
require "chef-vault/item_keys"
require "chef-vault/user"
require "chef-vault/certificate"
-require "chef-vault/chef_patch/api_client"
-require "chef-vault/chef_patch/user"
+require "chef-vault/chef_api"
+require "chef-vault/actor"
+require "mixlib/log"
+
class ChefVault
attr_accessor :vault
def initialize(vault, chef_config_file = nil)
@vault = vault
@@ -53,6 +55,12 @@
end
def self.load_config(chef_config_file)
Chef::Config.from_file(chef_config_file)
end
+
+ class Log
+ extend Mixlib::Log
+ end
+
+ Log.level = :error
end