Skip to content

Commit 65c63ea

Browse files
author
Christopher Brown
committed
adapt to new init.rb location
remove node_path and merb_log_path
1 parent f975e77 commit 65c63ea

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

chef-server/bin/chef-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ end
3030
unless %w[-a --adapter -i --irb-console -r --script-runner].any? { |o| ARGV.index(o) }
3131
ARGV.push *%w[-a mongrel]
3232
end
33-
ARGV.push *[ "-I", File.join(File.dirname(__FILE__), "..", "lib", "init.rb") ]
33+
ARGV.push *[ "-I", File.join(File.dirname(__FILE__), "..", "config", "init.rb") ]
3434

3535
if index = ARGV.index("-C")
3636
config = ARGV[index+1]

example-repository/config/server.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
remotefile_url "http://127.0.0.1:4000"
1717
search_url "http://127.0.0.1:4000"
1818
cookbook_path [ "/var/chef/site-cookbooks", "/var/chef/cookbooks" ]
19-
node_path "/var/chef/nodes"
2019
openid_store_path "/var/chef/openid/store"
2120
openid_cstore_path "/var/chef/openid/cstore"
22-
merb_log_path "/var/log/chef-server.log"
2321
search_index_path "/var/chef/search_index"
2422

2523
Chef::Log::Formatter.show_time = false

0 commit comments

Comments
 (0)