summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-04-21 18:24:26 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-04-21 18:24:26 -0700
commit38ebd63ba03b98791375a39404c55801cea3685e (patch)
tree20a480baa06c4a1f13f927d093abdef6bc80676a /spec
parent16ee59c619a0f40f17b9c64a0e2be6a19140df9d (diff)
downloadchef-zero-38ebd63ba03b98791375a39404c55801cea3685e.tar.gz
Use versioned_cookbooks with ChefFS
Diffstat (limited to 'spec')
-rw-r--r--spec/run.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/run.rb b/spec/run.rb
index 768e0a0..7c25eb7 100644
--- a/spec/run.rb
+++ b/spec/run.rb
@@ -20,6 +20,7 @@ def start_server(chef_repo_path)
# Start the new server
Chef::Config.repo_mode = 'everything'
Chef::Config.chef_repo_path = chef_repo_path
+ Chef::Config.versioned_cookbooks = true
chef_fs = Chef::ChefFS::Config.new.local_fs
data_store = Chef::ChefFS::ChefFSDataStore.new(chef_fs)
server = ChefZero::Server.new(:port => 8889, :data_store => data_store)#, :log_level => :debug)