chef-server 0.8.6 → 0.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/bin/chef-server CHANGED
@@ -56,6 +56,14 @@ end
56
56
  ARGV.push *[ "-I", File.join(__DIR__, "config", "init.rb") ]
57
57
  ARGV.push *[ "-m", __DIR__]
58
58
 
59
+ # attempt to find the user and group that this process will become. Fixes CHEF-1015
60
+ if (index = ARGV.index("-u"))
61
+ Chef::Config[:signing_ca_user] = ARGV[index+1]
62
+ end
63
+ if (index = ARGV.index("-G"))
64
+ Chef::Config[:signing_ca_group] = ARGV[index+1]
65
+ end
66
+
59
67
  if index = ARGV.index("-C")
60
68
  config = ARGV[index+1]
61
69
  ARGV.delete("-C")
@@ -2,6 +2,6 @@ require 'rubygems'
2
2
  require 'rake/gempackagetask'
3
3
 
4
4
  task :install => :package do
5
- sh %{sudo gem install pkg/#{GEM}-#{CHEF_SERVER_VERSION} --no-rdoc --no-ri}
5
+ sh %{gem install pkg/#{GEM}-#{CHEF_SERVER_VERSION} --no-rdoc --no-ri}
6
6
  end
7
7
 
@@ -2,6 +2,6 @@ require 'rubygems'
2
2
  require 'rake/gempackagetask'
3
3
 
4
4
  task :uninstall do
5
- sh %{sudo gem uninstall #{GEM} -x -v #{CHEF_SERVER_VERSION}}
5
+ sh %{gem uninstall #{GEM} -x -v #{CHEF_SERVER_VERSION}}
6
6
  end
7
7
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 6
9
- version: 0.8.6
8
+ - 8
9
+ version: 0.8.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Opscode
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-04 00:00:00 -08:00
17
+ date: 2010-03-17 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency