diff options
author | John Keiser <jkeiser@opscode.com> | 2014-07-16 07:31:34 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2014-07-23 19:21:23 -0600 |
commit | e811e7aa8ffce23430453aa389da5c38f4ee087d (patch) | |
tree | ace417786593e4517651a0d9cc02a949b75cfc8d /spec | |
parent | 856e52dd7abfd78259721528254a5b30e13d9cd3 (diff) | |
download | chef-zero-e811e7aa8ffce23430453aa389da5c38f4ee087d.tar.gz |
Move org defaults to a common class, DefaultFacade
for readability and so that memory and disk stores can share the defaults
and so that they can be switched out at will
Diffstat (limited to 'spec')
-rw-r--r-- | spec/run.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/run.rb b/spec/run.rb index 8a6e2b0..0403059 100644 --- a/spec/run.rb +++ b/spec/run.rb @@ -23,7 +23,7 @@ def start_local_server(chef_repo_path) Chef::Config.versioned_cookbooks = true chef_fs = Chef::ChefFS::Config.new.local_fs data_store = Chef::ChefFS::ChefFSDataStore.new(chef_fs) - data_store = ChefZero::DataStore::V1ToV2Adapter.new(data_store, 'chef', :org_defaults => ChefZero::DataStore::V1ToV2Adapter::ORG_DEFAULTS) + data_store = ChefZero::DataStore::V1ToV2Adapter.new(data_store, 'chef') server = ChefZero::Server.new(:port => 8889, :data_store => data_store)#, :log_level => :debug) server.start_background server |