# File lib/chef/knife/serve.rb, line 18 def configure_chef super Chef::Config.local_mode = true Chef::Config[:repo_mode] = config[:repo_mode] if config[:repo_mode] # --chef-repo-path forcibly overrides all other paths if config[:chef_repo_path] Chef::Config.chef_repo_path = config[:chef_repo_path] %(acl client cookbook container data_bag environment group node role user).each do |variable_name| Chef::Config.delete("#{variable_name}_path".to_sym) end end end
Generated with the Darkfish Rdoc Generator 2.