Skip to content

Commit

Permalink
Merge branch 'CHEF-2860'
Browse files Browse the repository at this point in the history
  • Loading branch information
btm committed Feb 9, 2012
2 parents 7bcf3c0 + 157d39c commit 293c69c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chef/lib/chef/config.rb
Expand Up @@ -197,6 +197,8 @@ def self.platform_specific_path(path)
# Where should chef-solo look for role files?
role_path platform_specific_path("/var/chef/roles")

data_bag_path platform_specific_path("/var/chef/data_bags")

# Where should chef-solo download recipes from?
recipe_url nil

Expand Down
4 changes: 4 additions & 0 deletions chef/spec/unit/config_spec.rb
Expand Up @@ -159,5 +159,9 @@
it "Chef::Config[:ssl_ca_file] defaults to nil" do
Chef::Config[:ssl_ca_file].should be_nil
end

it "Chef::Config[:data_bag_path] defaults to /var/chef/data_bags" do
Chef::Config[:data_bag_path].should == "/var/chef/data_bags"
end
end
end

0 comments on commit 293c69c

Please sign in to comment.