chef 0.10.0.qs.1 → 0.10.0.rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/distro/common/html/chef-client.8.html +1 -1
  2. data/distro/common/html/{chef-expander.8.html → chef-expander-cluster.8.html} +11 -11
  3. data/distro/common/html/chef-expanderctl.8.html +1 -1
  4. data/distro/common/html/chef-server-webui.8.html +1 -1
  5. data/distro/common/html/chef-server.8.html +1 -1
  6. data/distro/common/html/chef-solo.8.html +1 -1
  7. data/distro/common/html/chef-solr.8.html +1 -1
  8. data/distro/common/html/knife-bootstrap.1.html +1 -1
  9. data/distro/common/html/knife-client.1.html +1 -1
  10. data/distro/common/html/knife-configure.1.html +1 -1
  11. data/distro/common/html/knife-cookbook-site.1.html +1 -1
  12. data/distro/common/html/knife-cookbook.1.html +1 -1
  13. data/distro/common/html/knife-data-bag.1.html +1 -1
  14. data/distro/common/html/knife-environment.1.html +1 -1
  15. data/distro/common/html/knife-exec.1.html +1 -1
  16. data/distro/common/html/knife-index.1.html +1 -1
  17. data/distro/common/html/knife-node.1.html +1 -1
  18. data/distro/common/html/knife-recipe.1.html +1 -1
  19. data/distro/common/html/knife-role.1.html +1 -1
  20. data/distro/common/html/knife-search.1.html +1 -1
  21. data/distro/common/html/knife-ssh.1.html +1 -1
  22. data/distro/common/html/knife-status.1.html +1 -1
  23. data/distro/common/html/knife-tag.1.html +1 -1
  24. data/distro/common/html/knife.1.html +1 -1
  25. data/distro/common/html/shef.1.html +1 -1
  26. data/distro/common/man/man1/knife-bootstrap.1 +1 -1
  27. data/distro/common/man/man1/knife-client.1 +1 -1
  28. data/distro/common/man/man1/knife-configure.1 +1 -1
  29. data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
  30. data/distro/common/man/man1/knife-cookbook.1 +1 -1
  31. data/distro/common/man/man1/knife-data-bag.1 +1 -1
  32. data/distro/common/man/man1/knife-environment.1 +1 -1
  33. data/distro/common/man/man1/knife-exec.1 +1 -1
  34. data/distro/common/man/man1/knife-index.1 +1 -1
  35. data/distro/common/man/man1/knife-node.1 +1 -1
  36. data/distro/common/man/man1/knife-role.1 +1 -1
  37. data/distro/common/man/man1/knife-search.1 +1 -1
  38. data/distro/common/man/man1/knife-ssh.1 +1 -1
  39. data/distro/common/man/man1/knife-status.1 +1 -1
  40. data/distro/common/man/man1/knife-tag.1 +1 -1
  41. data/distro/common/man/man1/knife.1 +1 -1
  42. data/distro/common/man/man1/shef.1 +1 -1
  43. data/distro/common/man/man8/chef-client.8 +1 -1
  44. data/distro/common/man/man8/{chef-expander.8 → chef-expander-cluster.8} +5 -5
  45. data/distro/common/man/man8/chef-expanderctl.8 +1 -1
  46. data/distro/common/man/man8/chef-server-webui.8 +1 -1
  47. data/distro/common/man/man8/chef-server.8 +1 -1
  48. data/distro/common/man/man8/chef-solo.8 +1 -1
  49. data/distro/common/man/man8/chef-solr.8 +1 -1
  50. data/distro/common/markdown/man8/{chef-expander.mkd → chef-expander-cluster.mkd} +4 -4
  51. data/distro/redhat/etc/init.d/chef-expander +1 -1
  52. data/distro/redhat/etc/init.d/chef-solr +1 -1
  53. data/lib/chef.rb +0 -1
  54. data/lib/chef/api_client.rb +0 -6
  55. data/lib/chef/application.rb +6 -5
  56. data/lib/chef/application/client.rb +0 -5
  57. data/lib/chef/cookbook_uploader.rb +1 -4
  58. data/lib/chef/cookbook_version.rb +15 -12
  59. data/lib/chef/data_bag_item.rb +3 -3
  60. data/lib/chef/handler/error_report.rb +9 -2
  61. data/lib/chef/knife.rb +0 -1
  62. data/lib/chef/knife/bootstrap.rb +35 -5
  63. data/lib/chef/knife/bootstrap/archlinux-gems.erb +1 -1
  64. data/lib/chef/knife/bootstrap/centos5-gems.erb +14 -6
  65. data/lib/chef/knife/bootstrap/fedora13-gems.erb +12 -4
  66. data/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb +15 -4
  67. data/lib/chef/knife/cookbook_list.rb +1 -0
  68. data/lib/chef/knife/data_bag_create.rb +12 -14
  69. data/lib/chef/knife/data_bag_edit.rb +2 -2
  70. data/lib/chef/knife/data_bag_from_file.rb +2 -2
  71. data/lib/chef/knife/data_bag_show.rb +2 -2
  72. data/lib/chef/knife/search.rb +0 -3
  73. data/lib/chef/knife/ssh.rb +0 -2
  74. data/lib/chef/mixin/language.rb +0 -1
  75. data/lib/chef/provider/deploy.rb +1 -1
  76. data/lib/chef/provider/git.rb +3 -26
  77. data/lib/chef/provider/subversion.rb +1 -1
  78. data/lib/chef/recipe.rb +0 -1
  79. data/lib/chef/resource.rb +8 -9
  80. data/lib/chef/rest.rb +6 -10
  81. data/lib/chef/shell_out.rb +1 -1
  82. data/lib/chef/solr_query.rb +1 -1
  83. data/lib/chef/version.rb +1 -1
  84. metadata +5 -98
  85. data/lib/chef/knife/core/bootstrap_context.rb +0 -81
@@ -4,13 +4,13 @@ yum install -y ruby ruby-devel gcc gcc-c++ automake autoconf rubygems make
4
4
  gem update --system
5
5
  gem update
6
6
  gem install ohai --no-rdoc --no-ri --verbose
7
- gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string %>
7
+ gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string(:gems) %>
8
8
 
9
9
  mkdir -p /etc/chef
10
10
 
11
11
  (
12
12
  cat <<'EOP'
13
- <%= validation_key %>
13
+ <%= IO.read(Chef::Config[:validation_key]) %>
14
14
  EOP
15
15
  ) > /tmp/validation.pem
16
16
  awk NF /tmp/validation.pem > /etc/chef/validation.pem
@@ -18,7 +18,15 @@ rm /tmp/validation.pem
18
18
 
19
19
  (
20
20
  cat <<'EOP'
21
- <%= config_content %>
21
+ log_level :info
22
+ log_location STDOUT
23
+ chef_server_url "<%= Chef::Config[:chef_server_url] %>"
24
+ validation_client_name "<%= Chef::Config[:validation_client_name] %>"
25
+ <% if @config[:chef_node_name] == nil %>
26
+ # Using default node name"
27
+ <% else %>
28
+ node_name "<%= @config[:chef_node_name] %>"
29
+ <% end %>
22
30
  EOP
23
31
  ) > /etc/chef/client.rb
24
32
 
@@ -28,4 +36,4 @@ cat <<'EOP'
28
36
  EOP
29
37
  ) > /etc/chef/first-boot.json
30
38
 
31
- <%= start_chef %>'
39
+ /usr/bin/chef-client -j /etc/chef/first-boot.json'
@@ -10,13 +10,13 @@ if [ ! -f /usr/bin/chef-client ]; then
10
10
  fi
11
11
 
12
12
  gem install ohai --no-rdoc --no-ri --verbose
13
- gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string %>
13
+ gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string(:gems) %>
14
14
 
15
15
  mkdir -p /etc/chef
16
16
 
17
17
  (
18
18
  cat <<'EOP'
19
- <%= validation_key %>
19
+ <%= IO.read(Chef::Config[:validation_key]) %>
20
20
  EOP
21
21
  ) > /tmp/validation.pem
22
22
  awk NF /tmp/validation.pem > /etc/chef/validation.pem
@@ -24,7 +24,18 @@ rm /tmp/validation.pem
24
24
 
25
25
  (
26
26
  cat <<'EOP'
27
- <%= config_content %>
27
+ log_level :info
28
+ log_location STDOUT
29
+ chef_server_url "<%= Chef::Config[:chef_server_url] %>"
30
+ validation_client_name "<%= Chef::Config[:validation_client_name] %>"
31
+ <% if @config[:chef_node_name] == nil %>
32
+ # Using default node name (fqdn)
33
+ <% else %>
34
+ node_name "<%= @config[:chef_node_name] %>"
35
+ <% end %>
36
+ <% if Chef::Config[:environment] != nil %>
37
+ environment "<%= Chef::Config[:environment]%>"
38
+ <% end %>
28
39
  EOP
29
40
  ) > /etc/chef/client.rb
30
41
 
@@ -34,4 +45,4 @@ cat <<'EOP'
34
45
  EOP
35
46
  ) > /etc/chef/first-boot.json
36
47
 
37
- <%= start_chef %>'
48
+ /usr/bin/chef-client -j /etc/chef/first-boot.json'
@@ -39,6 +39,7 @@ class Chef
39
39
  env = config[:environment]
40
40
  num_versions = config[:all_versions] ? "num_versions=all" : "num_versions=1"
41
41
  api_endpoint = env ? "/environments/#{env}/cookbooks?#{num_versions}" : "/cookbooks?#{num_versions}"
42
+ ui.info("Showing latest versions. Use --show-all to list all available versions.") unless config[:all_versions]
42
43
  cookbook_versions = rest.get_rest(api_endpoint)
43
44
  format_cookbook_list_for_display(cookbook_versions).each do |line|
44
45
  ui.msg(line)
@@ -7,9 +7,9 @@
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
8
8
  # you may not use this file except in compliance with the License.
9
9
  # You may obtain a copy of the License at
10
- #
10
+ #
11
11
  # http://www.apache.org/licenses/LICENSE-2.0
12
- #
12
+ #
13
13
  # Unless required by applicable law or agreed to in writing, software
14
14
  # distributed under the License is distributed on an "AS IS" BASIS,
15
15
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,7 +25,6 @@ class Chef
25
25
 
26
26
  deps do
27
27
  require 'chef/data_bag'
28
- require 'chef/encrypted_data_bag_item'
29
28
  end
30
29
 
31
30
  banner "knife data bag create BAG [ITEM] (options)"
@@ -37,7 +36,7 @@ class Chef
37
36
  :description => "The secret key to use to encrypt data bag item values"
38
37
 
39
38
  option :secret_file,
40
- :long => "--secret-file SECRET_FILE",
39
+ :long => "--secret_file SECRET_FILE",
41
40
  :description => "A file containing the secret key to use to encrypt data bag item values"
42
41
 
43
42
  def read_secret
@@ -50,7 +49,7 @@ class Chef
50
49
 
51
50
  def use_encryption
52
51
  if config[:secret] && config[:secret_file]
53
- stdout.puts "please specify only one of --secret, --secret-file"
52
+ stdout.puts "please specify only one of --secret, --secret_file"
54
53
  exit(1)
55
54
  end
56
55
  config[:secret] || config[:secret_file]
@@ -64,7 +63,7 @@ class Chef
64
63
  stdout.puts("You must specify a data bag name")
65
64
  exit 1
66
65
  end
67
-
66
+
68
67
  # create the data bag
69
68
  begin
70
69
  rest.post_rest("data", { "name" => @data_bag_name })
@@ -73,17 +72,16 @@ class Chef
73
72
  raise unless e.to_s =~ /^409/
74
73
  ui.info("Data bag #{@data_bag_name} already exists")
75
74
  end
76
-
75
+
77
76
  # if an item is specified, create it, as well
78
77
  if @data_bag_item_name
79
78
  create_object({ "id" => @data_bag_item_name }, "data_bag_item[#{@data_bag_item_name}]") do |output|
80
- item = Chef::DataBagItem.from_hash(
81
- if use_encryption
82
- Chef::EncryptedDataBagItem.encrypt_data_bag_item(output, read_secret)
83
- else
84
- output
85
- end)
86
- item.data_bag(@data_bag_name)
79
+ item = if use_encryption
80
+ Chef::EncryptedDataBagItem.encrypt_data_bag_item(output,
81
+ read_secret)
82
+ else
83
+ output
84
+ end
87
85
  rest.post_rest("data/#{@data_bag_name}", item)
88
86
  end
89
87
  end
@@ -37,7 +37,7 @@ class Chef
37
37
  :description => "The secret key to use to encrypt data bag item values"
38
38
 
39
39
  option :secret_file,
40
- :long => "--secret-file SECRET_FILE",
40
+ :long => "--secret_file SECRET_FILE",
41
41
  :description => "A file containing the secret key to use to encrypt data bag item values"
42
42
 
43
43
  def read_secret
@@ -50,7 +50,7 @@ class Chef
50
50
 
51
51
  def use_encryption
52
52
  if config[:secret] && config[:secret_file]
53
- stdout.puts "please specify only one of --secret, --secret-file"
53
+ stdout.puts "please specify only one of --secret, --secret_file"
54
54
  exit(1)
55
55
  end
56
56
  config[:secret] || config[:secret_file]
@@ -40,7 +40,7 @@ class Chef
40
40
  :description => "The secret key to use to encrypt data bag item values"
41
41
 
42
42
  option :secret_file,
43
- :long => "--secret-file SECRET_FILE",
43
+ :long => "--secret_file SECRET_FILE",
44
44
  :description => "A file containing the secret key to use to encrypt data bag item values"
45
45
 
46
46
  def read_secret
@@ -53,7 +53,7 @@ class Chef
53
53
 
54
54
  def use_encryption
55
55
  if config[:secret] && config[:secret_file]
56
- stdout.puts "please specify only one of --secret, --secret-file"
56
+ stdout.puts "please specify only one of --secret, --secret_file"
57
57
  exit(1)
58
58
  end
59
59
  config[:secret] || config[:secret_file]
@@ -37,7 +37,7 @@ class Chef
37
37
  :description => "The secret key to use to decrypt data bag item values"
38
38
 
39
39
  option :secret_file,
40
- :long => "--secret-file SECRET_FILE",
40
+ :long => "--secret_file SECRET_FILE",
41
41
  :description => "A file containing the secret key to use to decrypt data bag item values"
42
42
 
43
43
  def read_secret
@@ -50,7 +50,7 @@ class Chef
50
50
 
51
51
  def use_encryption
52
52
  if config[:secret] && config[:secret_file]
53
- stdout.puts "please specify only one of --secret, --secret-file"
53
+ stdout.puts "please specify only one of --secret, --secret_file"
54
54
  exit(1)
55
55
  end
56
56
  config[:secret] || config[:secret_file]
@@ -24,9 +24,6 @@ class Chef
24
24
  class Search < Knife
25
25
 
26
26
  deps do
27
- require 'chef/node'
28
- require 'chef/environment'
29
- require 'chef/api_client'
30
27
  require 'chef/search/query'
31
28
  end
32
29
 
@@ -27,7 +27,6 @@ class Chef
27
27
  require 'net/ssh/multi'
28
28
  require 'readline'
29
29
  require 'chef/search/query'
30
- require 'chef/mixin/command'
31
30
  end
32
31
 
33
32
  attr_writer :password
@@ -301,7 +300,6 @@ class Chef
301
300
  end
302
301
 
303
302
  def run
304
- extend Chef::Mixin::Command
305
303
 
306
304
  @longest = 0
307
305
 
@@ -19,7 +19,6 @@
19
19
  require 'chef/search/query'
20
20
  require 'chef/data_bag'
21
21
  require 'chef/data_bag_item'
22
- require 'chef/encrypted_data_bag_item'
23
22
 
24
23
  class Chef
25
24
  module Mixin
@@ -307,7 +307,7 @@ class Chef
307
307
  gems = YAML.load(IO.read("#{release_path}/gems.yml"))
308
308
 
309
309
  gems.map do |g|
310
- r = Chef::Resource::GemPackage.new(g[:name], run_context)
310
+ r = Chef::Resource::GemPackage.new(g[:name])
311
311
  r.version g[:version]
312
312
  r.action :install
313
313
  r.source "http://gems.github.com"
@@ -108,9 +108,7 @@ class Chef
108
108
  Chef::Log.info "#{@new_resource} cloning repo #{@new_resource.repository} to #{@new_resource.destination}"
109
109
 
110
110
  clone_cmd = "git clone #{args.join(' ')} #{@new_resource.repository} #{@new_resource.destination}"
111
- retry_git(3) do
112
- shell_out!(clone_cmd, run_options(:command_log_level => :info))
113
- end
111
+ shell_out!(clone_cmd, run_options(:command_log_level => :info))
114
112
  end
115
113
 
116
114
  def checkout
@@ -134,9 +132,7 @@ class Chef
134
132
  # since we're in a local branch already, just reset to specified revision rather than merge
135
133
  fetch_command = "git fetch #{@new_resource.remote} && git fetch #{@new_resource.remote} --tags && git reset --hard #{target_revision}"
136
134
  Chef::Log.debug "Fetching updates from #{new_resource.remote} and resetting to revison #{target_revision}"
137
- retry_git(3) do
138
- shell_out!(fetch_command, run_options(:cwd => @new_resource.destination))
139
- end
135
+ shell_out!(fetch_command, run_options(:cwd => @new_resource.destination))
140
136
  end
141
137
 
142
138
  # Use git-config to setup a remote tracking branches. Could use
@@ -177,9 +173,7 @@ class Chef
177
173
  def remote_resolve_reference
178
174
  Chef::Log.debug("#{@new_resource} resolving remote reference")
179
175
  command = git('ls-remote', @new_resource.repository, @new_resource.revision)
180
- retry_git(3) do
181
- shell_out!(command, run_options).stdout
182
- end
176
+ shell_out!(command, run_options).stdout
183
177
  end
184
178
 
185
179
  private
@@ -231,23 +225,6 @@ class Chef
231
225
  $1
232
226
  end
233
227
 
234
- def retry_git(max_retries)
235
- attempts = 0
236
- begin
237
- yield()
238
- rescue Chef::Exceptions::ShellCommandFailed => e
239
- attempts += 1
240
- if attempts > max_retries
241
- raise e
242
- else
243
- wait_for = 2 ** attempts
244
- Chef::Log.warn("#{e.class.name}: #{new_resource} had an error: #{e.message}: retrying #{attempts}/#{max_retries}, waiting #{wait_for} seconds")
245
- sleep wait_for
246
- retry
247
- end
248
- end
249
- end
250
-
251
228
  end
252
229
  end
253
230
  end
@@ -31,7 +31,7 @@ class Chef
31
31
  def load_current_resource
32
32
  @current_resource = Chef::Resource::Subversion.new(@new_resource.name)
33
33
 
34
- unless [:export, :force_export].include?(Array(@new_resource.action).first)
34
+ unless [:export, :force_export].include?(@new_resource.action.first)
35
35
  if current_revision = find_current_revision
36
36
  @current_resource.revision current_revision
37
37
  end
@@ -88,7 +88,6 @@ class Chef
88
88
  def tag(*tags)
89
89
  if tags.length > 0
90
90
  tags.each do |tag|
91
- tag = tag.to_s
92
91
  run_context.node[:tags] << tag unless run_context.node[:tags].include?(tag)
93
92
  end
94
93
  run_context.node[:tags]
@@ -70,7 +70,6 @@ F
70
70
 
71
71
  end
72
72
 
73
- FORBIDDEN_IVARS = [:@run_context, :@node]
74
73
  HIDDEN_IVARS = [:@allowed_actions, :@resource_name, :@source_line, :@run_context, :@name, :@node]
75
74
 
76
75
  include Chef::Mixin::CheckHelper
@@ -321,7 +320,7 @@ F
321
320
  end
322
321
 
323
322
  def inspect
324
- ivars = instance_variables.map { |ivar| ivar.to_sym } - FORBIDDEN_IVARS
323
+ ivars = instance_variables.map { |ivar| ivar.to_sym } - HIDDEN_IVARS
325
324
  ivars.inject("<#{to_s}") do |str, ivar|
326
325
  str << " #{ivar}: #{instance_variable_get(ivar).inspect}"
327
326
  end << ">"
@@ -329,10 +328,11 @@ F
329
328
 
330
329
  # Serialize this object as a hash
331
330
  def to_json(*a)
332
- safe_ivars = instance_variables.map { |ivar| ivar.to_sym } - FORBIDDEN_IVARS
333
331
  instance_vars = Hash.new
334
- safe_ivars.each do |iv|
335
- instance_vars[iv.to_s.sub(/^@/, '')] = instance_variable_get(iv)
332
+ self.instance_variables.each do |iv|
333
+ unless iv == "@run_context"
334
+ instance_vars[iv] = self.instance_variable_get(iv)
335
+ end
336
336
  end
337
337
  results = {
338
338
  'json_class' => self.class.name,
@@ -342,11 +342,10 @@ F
342
342
  end
343
343
 
344
344
  def to_hash
345
- safe_ivars = instance_variables.map { |ivar| ivar.to_sym } - FORBIDDEN_IVARS
346
345
  instance_vars = Hash.new
347
- safe_ivars.each do |iv|
346
+ self.instance_variables.each do |iv|
348
347
  key = iv.to_s.sub(/^@/,'').to_sym
349
- instance_vars[key] = instance_variable_get(iv)
348
+ instance_vars[key] = self.instance_variable_get(iv) unless (key == :run_context) || (key == :node)
350
349
  end
351
350
  instance_vars
352
351
  end
@@ -445,7 +444,7 @@ F
445
444
  def json_create(o)
446
445
  resource = self.new(o["instance_vars"]["@name"])
447
446
  o["instance_vars"].each do |k,v|
448
- resource.instance_variable_set("@#{k}".to_sym, v)
447
+ resource.instance_variable_set(k.to_sym, v)
449
448
  end
450
449
  resource
451
450
  end
@@ -304,17 +304,13 @@ class Chef
304
304
  retry
305
305
  end
306
306
  raise Timeout::Error, "Timeout connecting to #{url.host}:#{url.port} for #{rest_request.path}, giving up"
307
- rescue Net::HTTPFatalError, Net::HTTPServerException => e
308
- if (e.kind_of?(Net::HTTPFatalError)) || (e.kind_of?(Net::HTTPServerException) && e.response.code == "403")
309
- if http_retry_count - http_attempts + 1 > 0
310
- sleep_time = 1 + (2 ** http_attempts) + rand(2 ** http_attempts)
311
- Chef::Log.error("Server returned error for #{url}, retrying #{http_attempts}/#{http_retry_count} in #{sleep_time}s")
312
- sleep(sleep_time)
313
- retry
314
- end
307
+ rescue Net::HTTPFatalError => e
308
+ if http_retry_count - http_attempts + 1 > 0
309
+ sleep_time = 1 + (2 ** http_attempts) + rand(2 ** http_attempts)
310
+ Chef::Log.error("Server returned error for #{url}, retrying #{http_attempts}/#{http_retry_count} in #{sleep_time}s")
311
+ sleep(sleep_time)
312
+ retry
315
313
  end
316
- # mutate the error message so it contains useful info
317
- e.message << " url: #{url}"
318
314
  raise
319
315
  end
320
316
  end
@@ -40,7 +40,7 @@ class Chef
40
40
  class ShellOut
41
41
  READ_WAIT_TIME = 0.01
42
42
  READ_SIZE = 4096
43
- DEFAULT_READ_TIMEOUT = 600
43
+ DEFAULT_READ_TIMEOUT = 60
44
44
  DEFAULT_ENVIRONMENT = {'LC_ALL' => 'C'}
45
45
 
46
46
  if RUBY_PLATFORM =~ /mswin|mingw32|windows/
@@ -152,7 +152,7 @@ class Chef
152
152
  delete_database(db)
153
153
 
154
154
  results = {}
155
- [Chef::ApiClient, Chef::Node, Chef::Role, Chef::Environment].each do |klass|
155
+ [Chef::ApiClient, Chef::Node, Chef::Role].each do |klass|
156
156
  results[klass.name] = reindex_all(klass) ? "success" : "failed"
157
157
  end
158
158
  databags = Chef::DataBag.cdb_list(true)
@@ -17,7 +17,7 @@
17
17
 
18
18
  class Chef
19
19
  CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
20
- VERSION = '0.10.0'
20
+ VERSION = '0.10.0.rc.0'
21
21
  end
22
22
 
23
23
  # NOTE: the Chef::Version class is defined in version_class.rb
metadata CHANGED
@@ -1,15 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15288919
5
4
  prerelease: 7
6
- segments:
7
- - 0
8
- - 10
9
- - 0
10
- - qs
11
- - 1
12
- version: 0.10.0.qs.1
5
+ version: 0.10.0.rc.0
13
6
  platform: ruby
14
7
  authors:
15
8
  - Adam Jacob
@@ -17,7 +10,7 @@ autorequire:
17
10
  bindir: bin
18
11
  cert_chain: []
19
12
 
20
- date: 2011-06-13 00:00:00 -07:00
13
+ date: 2011-04-15 00:00:00 -07:00
21
14
  default_executable:
22
15
  dependencies:
23
16
  - !ruby/object:Gem::Dependency
@@ -28,11 +21,6 @@ dependencies:
28
21
  requirements:
29
22
  - - ">="
30
23
  - !ruby/object:Gem::Version
31
- hash: 23
32
- segments:
33
- - 1
34
- - 1
35
- - 2
36
24
  version: 1.1.2
37
25
  type: :runtime
38
26
  version_requirements: *id001
@@ -44,11 +32,6 @@ dependencies:
44
32
  requirements:
45
33
  - - ">="
46
34
  - !ruby/object:Gem::Version
47
- hash: 19
48
- segments:
49
- - 1
50
- - 1
51
- - 0
52
35
  version: 1.1.0
53
36
  type: :runtime
54
37
  version_requirements: *id002
@@ -60,11 +43,6 @@ dependencies:
60
43
  requirements:
61
44
  - - ">="
62
45
  - !ruby/object:Gem::Version
63
- hash: 27
64
- segments:
65
- - 1
66
- - 3
67
- - 0
68
46
  version: 1.3.0
69
47
  type: :runtime
70
48
  version_requirements: *id003
@@ -76,11 +54,6 @@ dependencies:
76
54
  requirements:
77
55
  - - ">="
78
56
  - !ruby/object:Gem::Version
79
- hash: 19
80
- segments:
81
- - 1
82
- - 1
83
- - 0
84
57
  version: 1.1.0
85
58
  type: :runtime
86
59
  version_requirements: *id004
@@ -92,11 +65,6 @@ dependencies:
92
65
  requirements:
93
66
  - - ">="
94
67
  - !ruby/object:Gem::Version
95
- hash: 7
96
- segments:
97
- - 0
98
- - 6
99
- - 0
100
68
  version: 0.6.0
101
69
  type: :runtime
102
70
  version_requirements: *id005
@@ -108,19 +76,9 @@ dependencies:
108
76
  requirements:
109
77
  - - ">="
110
78
  - !ruby/object:Gem::Version
111
- hash: 31
112
- segments:
113
- - 1
114
- - 0
115
- - 4
116
79
  version: 1.0.4
117
80
  - - <
118
81
  - !ruby/object:Gem::Version
119
- hash: 11
120
- segments:
121
- - 1
122
- - 7
123
- - 0
124
82
  version: 1.7.0
125
83
  type: :runtime
126
84
  version_requirements: *id006
@@ -132,11 +90,6 @@ dependencies:
132
90
  requirements:
133
91
  - - ">="
134
92
  - !ruby/object:Gem::Version
135
- hash: 7
136
- segments:
137
- - 0
138
- - 6
139
- - 0
140
93
  version: 0.6.0
141
94
  type: :runtime
142
95
  version_requirements: *id007
@@ -148,19 +101,9 @@ dependencies:
148
101
  requirements:
149
102
  - - ">="
150
103
  - !ruby/object:Gem::Version
151
- hash: 15
152
- segments:
153
- - 1
154
- - 4
155
- - 4
156
104
  version: 1.4.4
157
105
  - - <=
158
106
  - !ruby/object:Gem::Version
159
- hash: 7
160
- segments:
161
- - 1
162
- - 5
163
- - 2
164
107
  version: 1.5.2
165
108
  type: :runtime
166
109
  version_requirements: *id008
@@ -172,11 +115,6 @@ dependencies:
172
115
  requirements:
173
116
  - - ~>
174
117
  - !ruby/object:Gem::Version
175
- hash: 21
176
- segments:
177
- - 1
178
- - 4
179
- - 9
180
118
  version: 1.4.9
181
119
  type: :runtime
182
120
  version_requirements: *id009
@@ -188,11 +126,6 @@ dependencies:
188
126
  requirements:
189
127
  - - ~>
190
128
  - !ruby/object:Gem::Version
191
- hash: 13
192
- segments:
193
- - 2
194
- - 1
195
- - 3
196
129
  version: 2.1.3
197
130
  type: :runtime
198
131
  version_requirements: *id010
@@ -204,11 +137,6 @@ dependencies:
204
137
  requirements:
205
138
  - - ~>
206
139
  - !ruby/object:Gem::Version
207
- hash: 21
208
- segments:
209
- - 1
210
- - 0
211
- - 1
212
140
  version: 1.0.1
213
141
  type: :runtime
214
142
  version_requirements: *id011
@@ -220,9 +148,6 @@ dependencies:
220
148
  requirements:
221
149
  - - ">="
222
150
  - !ruby/object:Gem::Version
223
- hash: 3
224
- segments:
225
- - 0
226
151
  version: "0"
227
152
  type: :runtime
228
153
  version_requirements: *id012
@@ -234,9 +159,6 @@ dependencies:
234
159
  requirements:
235
160
  - - ">="
236
161
  - !ruby/object:Gem::Version
237
- hash: 3
238
- segments:
239
- - 0
240
162
  version: "0"
241
163
  type: :runtime
242
164
  version_requirements: *id013
@@ -248,9 +170,6 @@ dependencies:
248
170
  requirements:
249
171
  - - ">="
250
172
  - !ruby/object:Gem::Version
251
- hash: 3
252
- segments:
253
- - 0
254
173
  version: "0"
255
174
  type: :runtime
256
175
  version_requirements: *id014
@@ -262,9 +181,6 @@ dependencies:
262
181
  requirements:
263
182
  - - ">="
264
183
  - !ruby/object:Gem::Version
265
- hash: 3
266
- segments:
267
- - 0
268
184
  version: "0"
269
185
  type: :runtime
270
186
  version_requirements: *id015
@@ -294,7 +210,7 @@ files:
294
210
  - distro/arch/etc/rc.d/chef-server-webui
295
211
  - distro/arch/etc/rc.d/chef-solr
296
212
  - distro/common/html/chef-client.8.html
297
- - distro/common/html/chef-expander.8.html
213
+ - distro/common/html/chef-expander-cluster.8.html
298
214
  - distro/common/html/chef-expanderctl.8.html
299
215
  - distro/common/html/chef-server-webui.8.html
300
216
  - distro/common/html/chef-server.8.html
@@ -336,7 +252,7 @@ files:
336
252
  - distro/common/man/man1/knife.1
337
253
  - distro/common/man/man1/shef.1
338
254
  - distro/common/man/man8/chef-client.8
339
- - distro/common/man/man8/chef-expander.8
255
+ - distro/common/man/man8/chef-expander-cluster.8
340
256
  - distro/common/man/man8/chef-expanderctl.8
341
257
  - distro/common/man/man8/chef-server-webui.8
342
258
  - distro/common/man/man8/chef-server.8
@@ -360,7 +276,7 @@ files:
360
276
  - distro/common/markdown/man1/knife.mkd
361
277
  - distro/common/markdown/man1/shef.mkd
362
278
  - distro/common/markdown/man8/chef-client.mkd
363
- - distro/common/markdown/man8/chef-expander.mkd
279
+ - distro/common/markdown/man8/chef-expander-cluster.mkd
364
280
  - distro/common/markdown/man8/chef-expanderctl.mkd
365
281
  - distro/common/markdown/man8/chef-server-webui.mkd
366
282
  - distro/common/markdown/man8/chef-server.mkd
@@ -473,7 +389,6 @@ files:
473
389
  - lib/chef/knife/cookbook_site_vendor.rb
474
390
  - lib/chef/knife/cookbook_test.rb
475
391
  - lib/chef/knife/cookbook_upload.rb
476
- - lib/chef/knife/core/bootstrap_context.rb
477
392
  - lib/chef/knife/core/cookbook_scm_repo.rb
478
393
  - lib/chef/knife/core/generic_presenter.rb
479
394
  - lib/chef/knife/core/node_editor.rb
@@ -736,20 +651,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
736
651
  requirements:
737
652
  - - ">="
738
653
  - !ruby/object:Gem::Version
739
- hash: 3
740
- segments:
741
- - 0
742
654
  version: "0"
743
655
  required_rubygems_version: !ruby/object:Gem::Requirement
744
656
  none: false
745
657
  requirements:
746
658
  - - ">"
747
659
  - !ruby/object:Gem::Version
748
- hash: 25
749
- segments:
750
- - 1
751
- - 3
752
- - 1
753
660
  version: 1.3.1
754
661
  requirements: []
755
662