Skip to content

Commit be0cd46

Browse files
committed
Moving chef/search and chef/search_index to the chef-server gem, where it belongs
1 parent 8792137 commit be0cd46

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

chef-server/Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GEM = "chef-server"
55
CHEF_SERVER_VERSION = "0.0.1"
66
AUTHOR = "Adam Jacob"
77
EMAIL = "adam@opscode.com"
8-
HOMEPAGE = "http://hjksolutions.com"
8+
HOMEPAGE = "http://www.opscode.com/chef"
99
SUMMARY = "A configuration management system server."
1010

1111
spec = Gem::Specification.new do |s|
@@ -32,7 +32,7 @@ spec = Gem::Specification.new do |s|
3232
s.add_dependency "syntax"
3333

3434
s.bindir = "bin"
35-
s.executables = %w( chef-indexer chef-server )
35+
s.executables = %w( chef-indexer chef-server )
3636

3737
s.files = %w(LICENSE README.txt Rakefile) + Dir.glob("{lib}/**/*")
3838
end

chef/bin/chef-client

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ require 'chef'
2424
require 'chef/client'
2525
require 'json'
2626
require 'daemons'
27+
require 'tmpdir'
2728

2829
config = {
2930
:config_file => "/etc/chef/client.rb",
@@ -95,8 +96,6 @@ config[:daemonize] ||= Chef::Config[:daemonize]
9596
Chef::Config[:interval] = config[:interval] if config[:interval]
9697
Chef::Config[:splay] = config[:splay] if config[:splay]
9798

98-
Daemons.daemonize(:ontop => !config[:daemonize])
99-
10099
Kernel.trap("INT") { Chef::Log.fatal("Recieved SIGINT - exiting!"); exit 2 }
101100

102101
sleepy_time = 0

0 commit comments

Comments
 (0)