chef 0.9.14 → 0.9.16

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.
@@ -6,9 +6,9 @@
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
- #
9
+ #
10
10
  # http://www.apache.org/licenses/LICENSE-2.0
11
- #
11
+ #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
14
14
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,11 +25,11 @@ class Chef
25
25
  class Env < RuntimeError; end
26
26
  class Exec < RuntimeError; end
27
27
  class ErlCall < RuntimeError; end
28
- class FileNotFound < RuntimeError; end
28
+ class FileNotFound < RuntimeError; end
29
29
  class Package < RuntimeError; end
30
30
  class Service < RuntimeError; end
31
31
  class Route < RuntimeError; end
32
- class SearchIndex < RuntimeError; end
32
+ class SearchIndex < RuntimeError; end
33
33
  class Override < RuntimeError; end
34
34
  class UnsupportedAction < RuntimeError; end
35
35
  class MissingLibrary < RuntimeError; end
@@ -65,5 +65,8 @@ class Chef
65
65
  class IllegalChecksumRevert < RuntimeError; end
66
66
  class MissingParentDirectory < RuntimeError; end
67
67
  class UnresolvableGitReference < RuntimeError; end
68
+ class InvalidEnvironmentRunListSpecification < ArgumentError; end
69
+ class InvalidDataBagItemID < ArgumentError; end
70
+ class InvalidDataBagName < ArgumentError; end
68
71
  end
69
72
  end
data/lib/chef/knife.rb CHANGED
@@ -20,11 +20,14 @@
20
20
  require 'chef/version'
21
21
  require 'mixlib/cli'
22
22
  require 'chef/mixin/convert_to_class_name'
23
-
23
+ require 'chef/rest'
24
24
  require 'pp'
25
25
 
26
26
  class Chef
27
27
  class Knife
28
+
29
+ Chef::REST::RESTRequest.user_agent = "Chef Knife#{Chef::REST::RESTRequest::UA_COMMON}"
30
+
28
31
  include Mixlib::CLI
29
32
  extend Chef::Mixin::ConvertToClassName
30
33
 
@@ -94,6 +97,7 @@ class Chef
94
97
  # is given, only subcommands in that category are shown
95
98
  def self.list_commands(preferred_category=nil)
96
99
  load_commands
100
+
97
101
  category_desc = preferred_category ? preferred_category + " " : ''
98
102
  msg "Available #{category_desc}subcommands: (for details, knife SUB-COMMAND --help)\n\n"
99
103
 
@@ -375,7 +379,7 @@ class Chef
375
379
  stdout.puts("USAGE: " + self.opt_parser.to_s)
376
380
  end
377
381
 
378
- def load_from_file(klass, from_file, bag=nil)
382
+ def load_from_file(klass, from_file, bag=nil)
379
383
  relative_path = ""
380
384
  if klass == Chef::Role
381
385
  relative_path = "roles"
@@ -38,6 +38,13 @@ class Chef
38
38
  :long => "--ssh-password PASSWORD",
39
39
  :description => "The ssh password"
40
40
 
41
+ option :ssh_port,
42
+ :short => "-p PORT",
43
+ :long => "--ssh-port PORT",
44
+ :description => "The ssh port",
45
+ :default => "22",
46
+ :proc => Proc.new { |key| Chef::Config[:knife][:ssh_port] = key }
47
+
41
48
  option :identity_file,
42
49
  :short => "-i IDENTITY_FILE",
43
50
  :long => "--identity-file IDENTITY_FILE",
@@ -52,6 +59,11 @@ class Chef
52
59
  :long => "--prerelease",
53
60
  :description => "Install the pre-release chef gems"
54
61
 
62
+ option :bootstrap_version,
63
+ :long => "--bootstrap-version",
64
+ :description => "The version of Chef to install",
65
+ :proc => lambda { |v| Chef::Config[:bootstrap_version] = v }
66
+
55
67
  option :distro,
56
68
  :short => "-d DISTRO",
57
69
  :long => "--distro DISTRO",
@@ -149,6 +161,7 @@ class Chef
149
161
  ssh.name_args = [ server_name, ssh_command ]
150
162
  ssh.config[:ssh_user] = config[:ssh_user]
151
163
  ssh.config[:ssh_password] = config[:ssh_password]
164
+ ssh.config[:ssh_port] = Chef::Config[:knife][:ssh_port] || config[:ssh_port]
152
165
  ssh.config[:identity_file] = config[:identity_file]
153
166
  ssh.config[:manual] = true
154
167
  ssh
@@ -171,7 +184,36 @@ class Chef
171
184
  command
172
185
  end
173
186
 
187
+ module TemplateHelper
188
+
189
+ #
190
+ # == Chef::Knife::Bootstrap::TemplateHelper
191
+ #
192
+ # The methods in the TemplateHelper module expect to have access to
193
+ # the instance varialbles set above as part of the context in the
194
+ # Chef::Knife::Bootstrap#render_context method. Those instance
195
+ # variables are:
196
+ #
197
+ # * @config - a hash of knife's config values
198
+ # * @run_list - the run list for the node to boostrap
199
+ #
200
+
201
+ ::Erubis::Context.send(:include, Chef::Knife::Bootstrap::TemplateHelper)
202
+
203
+ def bootstrap_version_string(type=nil)
204
+ version = Chef::Config[:bootstrap_version] || Chef::VERSION
205
+ case type
206
+ when :gems
207
+ if @config[:prerelease]
208
+ "--prerelease"
209
+ else
210
+ "--version #{version}"
211
+ end
212
+ else
213
+ version
214
+ end
215
+ end
216
+ end
174
217
  end
175
218
  end
176
219
  end
177
-
@@ -3,7 +3,8 @@ if [ ! -f /usr/bin/chef-client ]; then
3
3
  pacman -Syy
4
4
  pacman -S --noconfirm ruby ntp base-devel
5
5
  ntpdate -u pool.ntp.org
6
- gem install ohai chef --no-rdoc --no-ri --verbose <%= '--prerelease' if @config[:prerelease] %>
6
+ gem install ohai --no-rdoc --no-ri --verbose
7
+ gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string(:gems) %>
7
8
  fi
8
9
 
9
10
  mkdir -p /etc/chef
@@ -1,12 +1,21 @@
1
1
  bash -c '
2
- rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
3
- rpm -Uvh http://download.elff.bravenet.com/5/i386/elff-release-5-3.noarch.rpm
2
+ if [ ! -f /usr/bin/chef-client ]; then
3
+ rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
4
+ rpm -Uvh http://download.elff.bravenet.com/5/i386/elff-release-5-3.noarch.rpm
4
5
 
5
- yum install -q -y ruby ruby-devel gcc gcc-c++ automake autoconf rubygems make
6
+ yum install -y ruby ruby-devel gcc gcc-c++ automake autoconf make
7
+
8
+ cd /tmp
9
+ wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
10
+ tar zxf rubygems-1.3.7.tgz
11
+ cd rubygems-1.3.7
12
+ ruby setup.rb --no-format-executable
13
+ fi
6
14
 
7
15
  gem update --system
8
16
  gem update
9
- gem install ohai chef --no-rdoc --no-ri --verbose <%= '--prerelease' if @config[:prerelease] %>
17
+ gem install ohai --no-rdoc --no-ri --verbose
18
+ gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string(:gems) %>
10
19
 
11
20
  mkdir -p /etc/chef
12
21
 
@@ -25,10 +34,10 @@ log_location STDOUT
25
34
  chef_server_url "<%= Chef::Config[:chef_server_url] %>"
26
35
  validation_client_name "<%= Chef::Config[:validation_client_name] %>"
27
36
  <% if @config[:chef_node_name] == nil %>
28
- # Using default node name"
37
+ # Using default node name (fqdn)
29
38
  <% else %>
30
39
  node_name "<%= @config[:chef_node_name] %>"
31
- <% end %>
40
+ <% end %>
32
41
  EOP
33
42
  ) > /etc/chef/client.rb
34
43
 
@@ -1,9 +1,10 @@
1
1
  bash -c '
2
- yum install -q -y ruby ruby-devel gcc gcc-c++ automake autoconf rubygems make
2
+ yum install -y ruby ruby-devel gcc gcc-c++ automake autoconf rubygems make
3
3
 
4
4
  gem update --system
5
5
  gem update
6
- gem install ohai chef --no-rdoc --no-ri --verbose <%= '--prerelease' if @config[:prerelease] %>
6
+ gem install ohai --no-rdoc --no-ri --verbose
7
+ gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string(:gems) %>
7
8
 
8
9
  mkdir -p /etc/chef
9
10
 
@@ -25,7 +26,7 @@ validation_client_name "<%= Chef::Config[:validation_client_name] %>"
25
26
  # Using default node name"
26
27
  <% else %>
27
28
  node_name "<%= @config[:chef_node_name] %>"
28
- <% end %>
29
+ <% end %>
29
30
  EOP
30
31
  ) > /etc/chef/client.rb
31
32
 
@@ -1,6 +1,6 @@
1
1
  bash -c '
2
2
  if [ ! -f /usr/bin/chef-client ]; then
3
- echo "chef chef/chef_server_url string <%= Chef::Config[:chef_server_url] %>" | debconf-set-selections
3
+ echo "chef chef/chef_server_url string <%= Chef::Config[:chef_server_url] %>" | debconf-set-selections
4
4
  [ -f /etc/apt/sources.list.d/opscode.list ] || echo "deb http://apt.opscode.com lucid main" > /etc/apt/sources.list.d/opscode.list
5
5
  wget -O- http://apt.opscode.com/packages@opscode.com.gpg.key | apt-key add -
6
6
  fi
@@ -21,7 +21,7 @@ rm /tmp/validation.pem
21
21
 
22
22
  <% if @config[:chef_node_name] %>
23
23
  [ `grep -qx "node_name \"<%= @config[:chef_node_name] %>\"" /etc/chef/client.rb` ] || echo "node_name \"<%= @config[:chef_node_name] %>\"" >> /etc/chef/client.rb
24
- <% end -%>
24
+ <% end -%>
25
25
 
26
26
  (
27
27
  cat <<'EOP'
@@ -8,7 +8,9 @@ if [ ! -f /usr/bin/chef-client ]; then
8
8
  cd rubygems-1.3.7
9
9
  ruby setup.rb --no-format-executable
10
10
  fi
11
- gem install ohai chef --no-rdoc --no-ri --verbose <%= '--prerelease' if @config[:prerelease] %>
11
+
12
+ gem install ohai --no-rdoc --no-ri --verbose
13
+ gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string(:gems) %>
12
14
 
13
15
  mkdir -p /etc/chef
14
16
 
@@ -27,7 +29,7 @@ log_location STDOUT
27
29
  chef_server_url "<%= Chef::Config[:chef_server_url] %>"
28
30
  validation_client_name "<%= Chef::Config[:validation_client_name] %>"
29
31
  <% if @config[:chef_node_name] == nil %>
30
- # Using default node name"
32
+ # Using default node name (fqdn)
31
33
  <% else %>
32
34
  node_name "<%= @config[:chef_node_name] %>"
33
35
  <% end %>
@@ -62,6 +62,13 @@ class Chef
62
62
  :long => "--ssh-password PASSWORD",
63
63
  :description => "The ssh password"
64
64
 
65
+ option :ssh_port,
66
+ :short => "-p PORT",
67
+ :long => "--ssh-port PORT",
68
+ :description => "The ssh port",
69
+ :default => "22",
70
+ :proc => Proc.new { |key| Chef::Config[:knife][:ssh_port] = key }
71
+
65
72
  option :identity_file,
66
73
  :short => "-i IDENTITY_FILE",
67
74
  :long => "--identity-file IDENTITY_FILE",
@@ -113,6 +120,7 @@ class Chef
113
120
  session_opts = {}
114
121
  session_opts[:keys] = File.expand_path(config[:identity_file]) if config[:identity_file]
115
122
  session_opts[:password] = config[:ssh_password] if config[:ssh_password]
123
+ session_opts[:port] = Chef::Config[:knife][:ssh_port] || config[:ssh_port]
116
124
  session_opts[:logger] = Chef::Log.logger if Chef::Log.level == :debug
117
125
 
118
126
  session.use(hostspec, session_opts)
@@ -6,9 +6,9 @@
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
- #
9
+ #
10
10
  # http://www.apache.org/licenses/LICENSE-2.0
11
- #
11
+ #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
14
14
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -119,36 +119,45 @@ class Chef
119
119
  # false:: If the current platform is not in the list
120
120
  def platform?(*args)
121
121
  has_platform = false
122
-
122
+
123
123
  args.flatten.each do |platform|
124
124
  has_platform = true if platform == node[:platform]
125
125
  end
126
-
126
+
127
127
  has_platform
128
128
  end
129
129
 
130
130
  def search(*args, &block)
131
131
  # If you pass a block, or have at least the start argument, do raw result parsing
132
- #
132
+ #
133
133
  # Otherwise, do the iteration for the end user
134
- if Kernel.block_given? || args.length >= 4
134
+ if Kernel.block_given? || args.length >= 4
135
135
  Chef::Search::Query.new.search(*args, &block)
136
- else
136
+ else
137
137
  results = Array.new
138
138
  Chef::Search::Query.new.search(*args) do |o|
139
- results << o
139
+ results << o
140
140
  end
141
141
  results
142
142
  end
143
143
  end
144
144
 
145
145
  def data_bag(bag)
146
- rbag = Chef::DataBag.load(bag)
146
+ DataBag.validate_name!(bag)
147
+ rbag = DataBag.load(bag)
147
148
  rbag.keys
149
+ rescue Exception
150
+ Log.error("Failed to list data bag items in data bag: #{bag.inspect}")
151
+ raise
148
152
  end
149
153
 
150
154
  def data_bag_item(bag, item)
151
- Chef::DataBagItem.load(bag, item)
155
+ DataBag.validate_name!(bag)
156
+ DataBagItem.validate_id!(item)
157
+ DataBagItem.load(bag, item)
158
+ rescue Exception
159
+ Log.error("Failed to load data bag item: #{bag.inspect} #{item.inspect}")
160
+ raise
152
161
  end
153
162
 
154
163
  end
data/lib/chef/rest.rb CHANGED
@@ -298,13 +298,12 @@ class Chef
298
298
  retry
299
299
  end
300
300
  raise Timeout::Error, "Timeout connecting to #{url.host}:#{url.port} for #{rest_request.path}, giving up"
301
- rescue Net::HTTPServerException
302
- if res.kind_of?(Net::HTTPForbidden)
303
- if http_retry_count - http_attempts + 1 > 0
304
- Chef::Log.error("Received 403 Forbidden against #{url.host}:#{url.port} for #{rest_request.path}, retry #{http_attempts}/#{http_retry_count}")
305
- sleep(http_retry_delay)
306
- retry
307
- end
301
+ rescue Net::HTTPFatalError => e
302
+ if http_retry_count - http_attempts + 1 > 0
303
+ sleep_time = 1 + (2 ** http_attempts) + rand(2 ** http_attempts)
304
+ Chef::Log.error("Server returned error for #{url}, retrying #{http_attempts}/#{http_retry_count} in #{sleep_time}s")
305
+ sleep(sleep_time)
306
+ retry
308
307
  end
309
308
  raise
310
309
  end
@@ -359,6 +358,7 @@ class Chef
359
358
  headers["Content-Type"] = 'application/json' if json_body
360
359
  headers['Content-Length'] = json_body.bytesize.to_s if json_body
361
360
  headers.merge!(authentication_headers(method, url, json_body)) if sign_requests?
361
+ headers.merge!(Chef::Config[:custom_http_headers]) if Chef::Config[:custom_http_headers]
362
362
  headers
363
363
  end
364
364
 
@@ -55,22 +55,15 @@ class Chef
55
55
  private
56
56
 
57
57
  def load_signing_key
58
- begin
59
- @raw_key = IO.read(key_file).strip
60
- rescue SystemCallError, IOError => e
61
- Chef::Log.fatal "Failed to read the private key #{key_file}: #{e.inspect}, #{e.backtrace}"
62
- raise Chef::Exceptions::PrivateKeyMissing, "I cannot read #{key_file}, which you told me to use to sign requests!"
63
- end
64
- assert_valid_key_format!(@raw_key)
58
+ @raw_key = IO.read(key_file).strip
65
59
  @key = OpenSSL::PKey::RSA.new(@raw_key)
66
- end
67
-
68
- def assert_valid_key_format!(raw_key)
69
- unless (raw_key =~ /\A-----BEGIN RSA PRIVATE KEY-----$/) && (raw_key =~ /^-----END RSA PRIVATE KEY-----\Z/)
70
- msg = "The file #{key_file} does not contain a correctly formatted private key.\n"
71
- msg << "The key file should begin with '-----BEGIN RSA PRIVATE KEY-----' and end with '-----END RSA PRIVATE KEY-----'"
72
- raise Chef::Exceptions::InvalidPrivateKey, msg
73
- end
60
+ rescue SystemCallError, IOError => e
61
+ Chef::Log.fatal "Failed to read the private key #{key_file}: #{e.inspect}, #{e.backtrace}"
62
+ raise Chef::Exceptions::PrivateKeyMissing, "I cannot read #{key_file}, which you told me to use to sign requests!"
63
+ rescue OpenSSL::PKey::RSAError
64
+ msg = "The file #{key_file} does not contain a correctly formatted private key.\n"
65
+ msg << "The key file should begin with '-----BEGIN RSA PRIVATE KEY-----' and end with '-----END RSA PRIVATE KEY-----'"
66
+ raise Chef::Exceptions::InvalidPrivateKey, msg
74
67
  end
75
68
 
76
69
  end
@@ -23,11 +23,26 @@
23
23
  require 'uri'
24
24
  require 'net/http'
25
25
  require 'chef/rest/cookie_jar'
26
+ require 'ohai' #used in user agent string.
26
27
  require 'chef/version'
27
28
 
28
29
  class Chef
29
30
  class REST
30
31
  class RESTRequest
32
+
33
+ engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : "ruby"
34
+
35
+ UA_COMMON = "/#{::Chef::VERSION} (#{engine}-#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}; ohai-#{Ohai::VERSION}; #{RUBY_PLATFORM}; +http://opscode.com)"
36
+ DEFAULT_UA = "Chef Client" << UA_COMMON
37
+
38
+ def self.user_agent=(ua)
39
+ @user_agent = ua
40
+ end
41
+
42
+ def self.user_agent
43
+ @user_agent ||= DEFAULT_UA
44
+ end
45
+
31
46
  attr_reader :method, :url, :headers, :http_client, :http_request
32
47
 
33
48
  def initialize(method, url, req_body, base_headers={})
@@ -181,6 +196,7 @@ class Chef
181
196
  @http_request.body = request_body if (request_body && @http_request.request_body_permitted?)
182
197
  # Optionally handle HTTP Basic Authentication
183
198
  @http_request.basic_auth(url.user, url.password) if url.user
199
+ @http_request['User-Agent'] = self.class.user_agent
184
200
  end
185
201
 
186
202
  end
data/lib/chef/version.rb CHANGED
@@ -17,5 +17,5 @@
17
17
 
18
18
  class Chef
19
19
  CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
20
- VERSION = '0.9.14'
20
+ VERSION = '0.9.16'
21
21
  end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- hash: 39
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 9
9
- - 14
10
- version: 0.9.14
4
+ prerelease:
5
+ version: 0.9.16
11
6
  platform: ruby
12
7
  authors:
13
8
  - Adam Jacob
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-03-04 00:00:00 -08:00
13
+ date: 2011-04-15 00:00:00 -07:00
19
14
  default_executable:
20
15
  dependencies:
21
16
  - !ruby/object:Gem::Dependency
@@ -26,11 +21,6 @@ dependencies:
26
21
  requirements:
27
22
  - - ">="
28
23
  - !ruby/object:Gem::Version
29
- hash: 23
30
- segments:
31
- - 1
32
- - 1
33
- - 2
34
24
  version: 1.1.2
35
25
  type: :runtime
36
26
  version_requirements: *id001
@@ -42,11 +32,6 @@ dependencies:
42
32
  requirements:
43
33
  - - ">="
44
34
  - !ruby/object:Gem::Version
45
- hash: 19
46
- segments:
47
- - 1
48
- - 1
49
- - 0
50
35
  version: 1.1.0
51
36
  type: :runtime
52
37
  version_requirements: *id002
@@ -58,11 +43,6 @@ dependencies:
58
43
  requirements:
59
44
  - - ">="
60
45
  - !ruby/object:Gem::Version
61
- hash: 31
62
- segments:
63
- - 1
64
- - 2
65
- - 0
66
46
  version: 1.2.0
67
47
  type: :runtime
68
48
  version_requirements: *id003
@@ -74,11 +54,6 @@ dependencies:
74
54
  requirements:
75
55
  - - ">="
76
56
  - !ruby/object:Gem::Version
77
- hash: 19
78
- segments:
79
- - 1
80
- - 1
81
- - 0
82
57
  version: 1.1.0
83
58
  type: :runtime
84
59
  version_requirements: *id004
@@ -90,11 +65,6 @@ dependencies:
90
65
  requirements:
91
66
  - - ">="
92
67
  - !ruby/object:Gem::Version
93
- hash: 5
94
- segments:
95
- - 0
96
- - 5
97
- - 7
98
68
  version: 0.5.7
99
69
  type: :runtime
100
70
  version_requirements: *id005
@@ -106,19 +76,9 @@ dependencies:
106
76
  requirements:
107
77
  - - ">="
108
78
  - !ruby/object:Gem::Version
109
- hash: 31
110
- segments:
111
- - 1
112
- - 0
113
- - 4
114
79
  version: 1.0.4
115
80
  - - <
116
81
  - !ruby/object:Gem::Version
117
- hash: 11
118
- segments:
119
- - 1
120
- - 7
121
- - 0
122
82
  version: 1.7.0
123
83
  type: :runtime
124
84
  version_requirements: *id006
@@ -130,11 +90,6 @@ dependencies:
130
90
  requirements:
131
91
  - - ">="
132
92
  - !ruby/object:Gem::Version
133
- hash: 7
134
- segments:
135
- - 0
136
- - 6
137
- - 0
138
93
  version: 0.6.0
139
94
  type: :runtime
140
95
  version_requirements: *id007
@@ -146,19 +101,9 @@ dependencies:
146
101
  requirements:
147
102
  - - ">="
148
103
  - !ruby/object:Gem::Version
149
- hash: 15
150
- segments:
151
- - 1
152
- - 4
153
- - 4
154
104
  version: 1.4.4
155
105
  - - <=
156
106
  - !ruby/object:Gem::Version
157
- hash: 11
158
- segments:
159
- - 1
160
- - 4
161
- - 6
162
107
  version: 1.4.6
163
108
  type: :runtime
164
109
  version_requirements: *id008
@@ -170,9 +115,6 @@ dependencies:
170
115
  requirements:
171
116
  - - ">="
172
117
  - !ruby/object:Gem::Version
173
- hash: 3
174
- segments:
175
- - 0
176
118
  version: "0"
177
119
  type: :runtime
178
120
  version_requirements: *id009
@@ -184,9 +126,6 @@ dependencies:
184
126
  requirements:
185
127
  - - ">="
186
128
  - !ruby/object:Gem::Version
187
- hash: 3
188
- segments:
189
- - 0
190
129
  version: "0"
191
130
  type: :runtime
192
131
  version_requirements: *id010
@@ -198,9 +137,6 @@ dependencies:
198
137
  requirements:
199
138
  - - ">="
200
139
  - !ruby/object:Gem::Version
201
- hash: 3
202
- segments:
203
- - 0
204
140
  version: "0"
205
141
  type: :runtime
206
142
  version_requirements: *id011
@@ -212,9 +148,6 @@ dependencies:
212
148
  requirements:
213
149
  - - ">="
214
150
  - !ruby/object:Gem::Version
215
- hash: 3
216
- segments:
217
- - 0
218
151
  version: "0"
219
152
  type: :runtime
220
153
  version_requirements: *id012
@@ -226,9 +159,6 @@ dependencies:
226
159
  requirements:
227
160
  - - ">="
228
161
  - !ruby/object:Gem::Version
229
- hash: 3
230
- segments:
231
- - 0
232
162
  version: "0"
233
163
  type: :runtime
234
164
  version_requirements: *id013
@@ -247,361 +177,361 @@ extra_rdoc_files:
247
177
  files:
248
178
  - LICENSE
249
179
  - README.rdoc
250
- - distro/common/man/man1/chef-solr.1
180
+ - distro/arch/etc/conf.d/chef-client.conf
181
+ - distro/arch/etc/conf.d/chef-server-webui.conf
182
+ - distro/arch/etc/conf.d/chef-server.conf
183
+ - distro/arch/etc/conf.d/chef-solr-indexer.conf
184
+ - distro/arch/etc/conf.d/chef-solr.conf
185
+ - distro/arch/etc/rc.d/chef-client
186
+ - distro/arch/etc/rc.d/chef-server
187
+ - distro/arch/etc/rc.d/chef-server-webui
188
+ - distro/arch/etc/rc.d/chef-solr
189
+ - distro/arch/etc/rc.d/chef-solr-indexer
190
+ - distro/common/man/man1/chef-indexer.1
251
191
  - distro/common/man/man1/chef-server-webui.1
252
- - distro/common/man/man1/chef-solr-indexer.1
253
192
  - distro/common/man/man1/chef-server.1
254
- - distro/common/man/man1/chef-indexer.1
255
- - distro/common/man/man8/shef.8
256
- - distro/common/man/man8/chef-solr-rebuild.8
193
+ - distro/common/man/man1/chef-solr-indexer.1
194
+ - distro/common/man/man1/chef-solr.1
257
195
  - distro/common/man/man8/chef-client.8
258
196
  - distro/common/man/man8/chef-solo.8
197
+ - distro/common/man/man8/chef-solr-rebuild.8
259
198
  - distro/common/man/man8/knife.8
199
+ - distro/common/man/man8/shef.8
260
200
  - distro/common/markdown/knife.mkd
261
201
  - distro/common/markdown/README
262
- - distro/redhat/etc/sysconfig/chef-server-webui
263
- - distro/redhat/etc/sysconfig/chef-solr-indexer
264
- - distro/redhat/etc/sysconfig/chef-solr
265
- - distro/redhat/etc/sysconfig/chef-client
266
- - distro/redhat/etc/sysconfig/chef-server
267
- - distro/redhat/etc/init.d/chef-server-webui
268
- - distro/redhat/etc/init.d/chef-solr-indexer
269
- - distro/redhat/etc/init.d/chef-solr
270
- - distro/redhat/etc/init.d/chef-client
271
- - distro/redhat/etc/init.d/chef-server
272
- - distro/redhat/etc/logrotate.d/chef-server-webui
273
- - distro/redhat/etc/logrotate.d/chef-solr-indexer
274
- - distro/redhat/etc/logrotate.d/chef-solr
275
- - distro/redhat/etc/logrotate.d/chef-client
276
- - distro/redhat/etc/logrotate.d/chef-server
277
- - distro/arch/etc/conf.d/chef-server-webui.conf
278
- - distro/arch/etc/conf.d/chef-client.conf
279
- - distro/arch/etc/conf.d/chef-solr.conf
280
- - distro/arch/etc/conf.d/chef-solr-indexer.conf
281
- - distro/arch/etc/conf.d/chef-server.conf
282
- - distro/arch/etc/rc.d/chef-server-webui
283
- - distro/arch/etc/rc.d/chef-solr-indexer
284
- - distro/arch/etc/rc.d/chef-solr
285
- - distro/arch/etc/rc.d/chef-client
286
- - distro/arch/etc/rc.d/chef-server
287
- - distro/debian/etc/default/chef-server-webui
288
- - distro/debian/etc/default/chef-solr-indexer
289
- - distro/debian/etc/default/chef-solr
290
202
  - distro/debian/etc/default/chef-client
291
203
  - distro/debian/etc/default/chef-server
292
- - distro/debian/etc/init.d/chef-server-webui
293
- - distro/debian/etc/init.d/chef-solr-indexer
294
- - distro/debian/etc/init.d/chef-solr
295
- - distro/debian/etc/init.d/chef-client
296
- - distro/debian/etc/init.d/chef-server
297
- - distro/debian/etc/init/chef-server-webui.conf
204
+ - distro/debian/etc/default/chef-server-webui
205
+ - distro/debian/etc/default/chef-solr
206
+ - distro/debian/etc/default/chef-solr-indexer
298
207
  - distro/debian/etc/init/chef-client.conf
299
- - distro/debian/etc/init/chef-solr.conf
300
- - distro/debian/etc/init/chef-solr-indexer.conf
208
+ - distro/debian/etc/init/chef-server-webui.conf
301
209
  - distro/debian/etc/init/chef-server.conf
210
+ - distro/debian/etc/init/chef-solr-indexer.conf
211
+ - distro/debian/etc/init/chef-solr.conf
212
+ - distro/debian/etc/init.d/chef-client
213
+ - distro/debian/etc/init.d/chef-server
214
+ - distro/debian/etc/init.d/chef-server-webui
215
+ - distro/debian/etc/init.d/chef-solr
216
+ - distro/debian/etc/init.d/chef-solr-indexer
302
217
  - distro/README
303
- - lib/chef/handler.rb
304
- - lib/chef/runner.rb
305
- - lib/chef/providers.rb
306
- - lib/chef/exceptions.rb
307
- - lib/chef/file_cache.rb
308
- - lib/chef/resource_collection/stepable_iterator.rb
309
- - lib/chef/webui_user.rb
310
- - lib/chef/node.rb
218
+ - distro/redhat/etc/init.d/chef-client
219
+ - distro/redhat/etc/init.d/chef-server
220
+ - distro/redhat/etc/init.d/chef-server-webui
221
+ - distro/redhat/etc/init.d/chef-solr
222
+ - distro/redhat/etc/init.d/chef-solr-indexer
223
+ - distro/redhat/etc/logrotate.d/chef-client
224
+ - distro/redhat/etc/logrotate.d/chef-server
225
+ - distro/redhat/etc/logrotate.d/chef-server-webui
226
+ - distro/redhat/etc/logrotate.d/chef-solr
227
+ - distro/redhat/etc/logrotate.d/chef-solr-indexer
228
+ - distro/redhat/etc/sysconfig/chef-client
229
+ - distro/redhat/etc/sysconfig/chef-server
230
+ - distro/redhat/etc/sysconfig/chef-server-webui
231
+ - distro/redhat/etc/sysconfig/chef-solr
232
+ - distro/redhat/etc/sysconfig/chef-solr-indexer
233
+ - lib/chef/api_client.rb
234
+ - lib/chef/application/agent.rb
235
+ - lib/chef/application/client.rb
236
+ - lib/chef/application/knife.rb
237
+ - lib/chef/application/solo.rb
311
238
  - lib/chef/application.rb
239
+ - lib/chef/applications.rb
240
+ - lib/chef/certificate.rb
241
+ - lib/chef/checksum.rb
242
+ - lib/chef/checksum_cache.rb
243
+ - lib/chef/client.rb
244
+ - lib/chef/config.rb
245
+ - lib/chef/cookbook/cookbook_collection.rb
246
+ - lib/chef/cookbook/file_system_file_vendor.rb
247
+ - lib/chef/cookbook/file_vendor.rb
248
+ - lib/chef/cookbook/metadata/version.rb
249
+ - lib/chef/cookbook/metadata.rb
250
+ - lib/chef/cookbook/remote_file_vendor.rb
251
+ - lib/chef/cookbook/syntax_check.rb
252
+ - lib/chef/cookbook_loader.rb
253
+ - lib/chef/cookbook_site_streaming_uploader.rb
254
+ - lib/chef/cookbook_uploader.rb
255
+ - lib/chef/cookbook_version.rb
256
+ - lib/chef/couchdb.rb
257
+ - lib/chef/daemon.rb
258
+ - lib/chef/data_bag.rb
259
+ - lib/chef/data_bag_item.rb
260
+ - lib/chef/exceptions.rb
312
261
  - lib/chef/file_access_control.rb
313
- - lib/chef/resource.rb
314
- - lib/chef/streaming_cookbook_uploader.rb
315
- - lib/chef/util/windows.rb
316
- - lib/chef/util/file_edit.rb
317
- - lib/chef/util/windows/net_use.rb
318
- - lib/chef/util/windows/volume.rb
319
- - lib/chef/util/windows/net_group.rb
320
- - lib/chef/util/windows/net_user.rb
321
- - lib/chef/knife/rackspace_server_create.rb
322
- - lib/chef/knife/cookbook_metadata_from_file.rb
323
- - lib/chef/knife/role_bulk_delete.rb
324
- - lib/chef/knife/data_bag_from_file.rb
325
- - lib/chef/knife/configure_client.rb
326
- - lib/chef/knife/search.rb
327
- - lib/chef/knife/data_bag_show.rb
328
- - lib/chef/knife/client_edit.rb
329
- - lib/chef/knife/data_bag_list.rb
330
- - lib/chef/knife/cookbook_delete.rb
331
- - lib/chef/knife/cookbook_bulk_delete.rb
332
- - lib/chef/knife/terremark_server_create.rb
333
- - lib/chef/knife/node_from_file.rb
334
- - lib/chef/knife/cookbook_upload.rb
335
- - lib/chef/knife/cookbook_site_unshare.rb
336
- - lib/chef/knife/bootstrap.rb
337
- - lib/chef/knife/cookbook_metadata.rb
338
- - lib/chef/knife/bluebox_server_list.rb
339
- - lib/chef/knife/node_show.rb
340
- - lib/chef/knife/data_bag_create.rb
341
- - lib/chef/knife/recipe_list.rb
342
- - lib/chef/knife/client_show.rb
343
- - lib/chef/knife/slicehost_images_list.rb
344
- - lib/chef/knife/role_from_file.rb
345
- - lib/chef/knife/node_list.rb
346
- - lib/chef/knife/role_show.rb
347
- - lib/chef/knife/node_create.rb
348
- - lib/chef/knife/cookbook_download.rb
349
- - lib/chef/knife/role_edit.rb
350
- - lib/chef/knife/bluebox_server_delete.rb
351
- - lib/chef/knife/configure.rb
352
- - lib/chef/knife/status.rb
353
- - lib/chef/knife/rackspace_server_list.rb
354
- - lib/chef/knife/cookbook_test.rb
355
- - lib/chef/knife/cookbook_show.rb
356
- - lib/chef/knife/client_delete.rb
357
- - lib/chef/knife/ec2_server_create.rb
358
- - lib/chef/knife/index_rebuild.rb
359
- - lib/chef/knife/windows_bootstrap.rb
360
- - lib/chef/knife/node_delete.rb
361
- - lib/chef/knife/node_run_list_add.rb
262
+ - lib/chef/file_cache.rb
263
+ - lib/chef/handler/json_file.rb
264
+ - lib/chef/handler.rb
265
+ - lib/chef/index_queue/amqp_client.rb
266
+ - lib/chef/index_queue/consumer.rb
267
+ - lib/chef/index_queue/indexable.rb
268
+ - lib/chef/index_queue.rb
269
+ - lib/chef/json_compat.rb
270
+ - lib/chef/knife/bluebox_images_list.rb
362
271
  - lib/chef/knife/bluebox_server_create.rb
363
- - lib/chef/knife/data_bag_delete.rb
364
- - lib/chef/knife/role_create.rb
365
- - lib/chef/knife/cookbook_site_list.rb
272
+ - lib/chef/knife/bluebox_server_delete.rb
273
+ - lib/chef/knife/bluebox_server_list.rb
274
+ - lib/chef/knife/bootstrap/archlinux-gems.erb
275
+ - lib/chef/knife/bootstrap/centos5-gems.erb
276
+ - lib/chef/knife/bootstrap/client-install.vbs
277
+ - lib/chef/knife/bootstrap/fedora13-gems.erb
278
+ - lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
279
+ - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
280
+ - lib/chef/knife/bootstrap/windows-gems.erb
281
+ - lib/chef/knife/bootstrap.rb
366
282
  - lib/chef/knife/client_bulk_delete.rb
367
- - lib/chef/knife/data_bag_edit.rb
368
- - lib/chef/knife/ec2_server_list.rb
369
283
  - lib/chef/knife/client_create.rb
370
- - lib/chef/knife/node_run_list_remove.rb
284
+ - lib/chef/knife/client_delete.rb
285
+ - lib/chef/knife/client_edit.rb
286
+ - lib/chef/knife/client_list.rb
287
+ - lib/chef/knife/client_reregister.rb
288
+ - lib/chef/knife/client_show.rb
289
+ - lib/chef/knife/configure.rb
290
+ - lib/chef/knife/configure_client.rb
291
+ - lib/chef/knife/cookbook_bulk_delete.rb
371
292
  - lib/chef/knife/cookbook_create.rb
372
- - lib/chef/knife/node_edit.rb
373
- - lib/chef/knife/exec.rb
374
- - lib/chef/knife/bluebox_images_list.rb
375
- - lib/chef/knife/ec2_instance_data.rb
293
+ - lib/chef/knife/cookbook_delete.rb
294
+ - lib/chef/knife/cookbook_download.rb
376
295
  - lib/chef/knife/cookbook_list.rb
377
- - lib/chef/knife/client_list.rb
378
- - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
379
- - lib/chef/knife/bootstrap/windows-gems.erb
380
- - lib/chef/knife/bootstrap/archlinux-gems.erb
381
- - lib/chef/knife/bootstrap/fedora13-gems.erb
382
- - lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
383
- - lib/chef/knife/bootstrap/centos5-gems.erb
384
- - lib/chef/knife/bootstrap/client-install.vbs
385
- - lib/chef/knife/ssh.rb
386
- - lib/chef/knife/terremark_server_delete.rb
387
- - lib/chef/knife/slicehost_server_list.rb
388
- - lib/chef/knife/cookbook_site_show.rb
389
- - lib/chef/knife/ec2_server_delete.rb
296
+ - lib/chef/knife/cookbook_metadata.rb
297
+ - lib/chef/knife/cookbook_metadata_from_file.rb
298
+ - lib/chef/knife/cookbook_show.rb
390
299
  - lib/chef/knife/cookbook_site_download.rb
300
+ - lib/chef/knife/cookbook_site_list.rb
301
+ - lib/chef/knife/cookbook_site_search.rb
391
302
  - lib/chef/knife/cookbook_site_share.rb
303
+ - lib/chef/knife/cookbook_site_show.rb
304
+ - lib/chef/knife/cookbook_site_unshare.rb
392
305
  - lib/chef/knife/cookbook_site_vendor.rb
393
- - lib/chef/knife/slicehost_server_delete.rb
394
- - lib/chef/knife/terremark_server_list.rb
395
- - lib/chef/knife/cookbook_site_search.rb
306
+ - lib/chef/knife/cookbook_test.rb
307
+ - lib/chef/knife/cookbook_upload.rb
308
+ - lib/chef/knife/data_bag_create.rb
309
+ - lib/chef/knife/data_bag_delete.rb
310
+ - lib/chef/knife/data_bag_edit.rb
311
+ - lib/chef/knife/data_bag_from_file.rb
312
+ - lib/chef/knife/data_bag_list.rb
313
+ - lib/chef/knife/data_bag_show.rb
314
+ - lib/chef/knife/ec2_instance_data.rb
315
+ - lib/chef/knife/ec2_server_create.rb
316
+ - lib/chef/knife/ec2_server_delete.rb
317
+ - lib/chef/knife/ec2_server_list.rb
318
+ - lib/chef/knife/exec.rb
319
+ - lib/chef/knife/index_rebuild.rb
396
320
  - lib/chef/knife/node_bulk_delete.rb
397
- - lib/chef/knife/client_reregister.rb
321
+ - lib/chef/knife/node_create.rb
322
+ - lib/chef/knife/node_delete.rb
323
+ - lib/chef/knife/node_edit.rb
324
+ - lib/chef/knife/node_from_file.rb
325
+ - lib/chef/knife/node_list.rb
326
+ - lib/chef/knife/node_run_list_add.rb
327
+ - lib/chef/knife/node_run_list_remove.rb
328
+ - lib/chef/knife/node_show.rb
329
+ - lib/chef/knife/rackspace_server_create.rb
398
330
  - lib/chef/knife/rackspace_server_delete.rb
399
- - lib/chef/knife/slicehost_server_create.rb
400
- - lib/chef/knife/role_list.rb
401
- - lib/chef/knife/role_delete.rb
402
- - lib/chef/rest.rb
331
+ - lib/chef/knife/rackspace_server_list.rb
332
+ - lib/chef/knife/recipe_list.rb
333
+ - lib/chef/knife/role_bulk_delete.rb
334
+ - lib/chef/knife/role_create.rb
335
+ - lib/chef/knife/role_delete.rb
336
+ - lib/chef/knife/role_edit.rb
337
+ - lib/chef/knife/role_from_file.rb
338
+ - lib/chef/knife/role_list.rb
339
+ - lib/chef/knife/role_show.rb
340
+ - lib/chef/knife/search.rb
341
+ - lib/chef/knife/slicehost_images_list.rb
342
+ - lib/chef/knife/slicehost_server_create.rb
343
+ - lib/chef/knife/slicehost_server_delete.rb
344
+ - lib/chef/knife/slicehost_server_list.rb
345
+ - lib/chef/knife/ssh.rb
346
+ - lib/chef/knife/status.rb
347
+ - lib/chef/knife/terremark_server_create.rb
348
+ - lib/chef/knife/terremark_server_delete.rb
349
+ - lib/chef/knife/terremark_server_list.rb
350
+ - lib/chef/knife/windows_bootstrap.rb
351
+ - lib/chef/knife.rb
352
+ - lib/chef/log.rb
353
+ - lib/chef/mixin/check_helper.rb
354
+ - lib/chef/mixin/checksum.rb
355
+ - lib/chef/mixin/command/unix.rb
356
+ - lib/chef/mixin/command/windows.rb
357
+ - lib/chef/mixin/command.rb
358
+ - lib/chef/mixin/convert_to_class_name.rb
359
+ - lib/chef/mixin/create_path.rb
360
+ - lib/chef/mixin/deep_merge.rb
361
+ - lib/chef/mixin/deprecation.rb
362
+ - lib/chef/mixin/find_preferred_file.rb
363
+ - lib/chef/mixin/from_file.rb
364
+ - lib/chef/mixin/language.rb
365
+ - lib/chef/mixin/language_include_attribute.rb
366
+ - lib/chef/mixin/language_include_recipe.rb
367
+ - lib/chef/mixin/params_validate.rb
368
+ - lib/chef/mixin/recipe_definition_dsl_core.rb
369
+ - lib/chef/mixin/shell_out.rb
370
+ - lib/chef/mixin/template.rb
371
+ - lib/chef/mixin/xml_escape.rb
372
+ - lib/chef/mixins.rb
403
373
  - lib/chef/monkey_patches/dir.rb
404
- - lib/chef/monkey_patches/string.rb
405
374
  - lib/chef/monkey_patches/numeric.rb
406
375
  - lib/chef/monkey_patches/regexp.rb
376
+ - lib/chef/monkey_patches/string.rb
407
377
  - lib/chef/monkey_patches/tempfile.rb
408
- - lib/chef/shef.rb
409
- - lib/chef/handler/json_file.rb
410
378
  - lib/chef/node/attribute.rb
411
- - lib/chef/rest/rest_request.rb
412
- - lib/chef/rest/cookie_jar.rb
413
- - lib/chef/rest/auth_credentials.rb
414
- - lib/chef/tasks/chef_repo.rake
415
- - lib/chef/resource_definition.rb
416
- - lib/chef/shell_out.rb
417
- - lib/chef/index_queue.rb
418
- - lib/chef/version.rb
419
- - lib/chef/provider/subversion.rb
420
- - lib/chef/provider/package/easy_install.rb
421
- - lib/chef/provider/package/solaris.rb
422
- - lib/chef/provider/package/rubygems.rb
423
- - lib/chef/provider/package/macports.rb
424
- - lib/chef/provider/package/yum-dump.py
425
- - lib/chef/provider/package/dpkg.rb
426
- - lib/chef/provider/package/zypper.rb
427
- - lib/chef/provider/package/yum.rb
428
- - lib/chef/provider/package/apt.rb
429
- - lib/chef/provider/package/pacman.rb
430
- - lib/chef/provider/package/portage.rb
431
- - lib/chef/provider/package/freebsd.rb
432
- - lib/chef/provider/package/rpm.rb
379
+ - lib/chef/node.rb
380
+ - lib/chef/openid_registration.rb
381
+ - lib/chef/platform.rb
433
382
  - lib/chef/provider/breakpoint.rb
434
- - lib/chef/provider/execute.rb
435
- - lib/chef/provider/ohai.rb
436
- - lib/chef/provider/service/arch.rb
437
- - lib/chef/provider/service/solaris.rb
438
- - lib/chef/provider/service/windows.rb
439
- - lib/chef/provider/service/upstart.rb
440
- - lib/chef/provider/service/redhat.rb
441
- - lib/chef/provider/service/simple.rb
442
- - lib/chef/provider/service/debian.rb
443
- - lib/chef/provider/service/gentoo.rb
444
- - lib/chef/provider/service/insserv.rb
445
- - lib/chef/provider/service/freebsd.rb
446
- - lib/chef/provider/service/init.rb
447
- - lib/chef/provider/mount/windows.rb
448
- - lib/chef/provider/mount/mount.rb
383
+ - lib/chef/provider/cookbook_file.rb
384
+ - lib/chef/provider/cron/solaris.rb
385
+ - lib/chef/provider/cron.rb
449
386
  - lib/chef/provider/deploy/revision.rb
450
387
  - lib/chef/provider/deploy/timestamped.rb
451
- - lib/chef/provider/template.rb
452
- - lib/chef/provider/git.rb
453
- - lib/chef/provider/link.rb
454
- - lib/chef/provider/service.rb
455
- - lib/chef/provider/remote_directory.rb
456
- - lib/chef/provider/remote_file.rb
457
- - lib/chef/provider/user.rb
388
+ - lib/chef/provider/deploy.rb
458
389
  - lib/chef/provider/directory.rb
459
- - lib/chef/provider/cookbook_file.rb
460
- - lib/chef/provider/ruby_block.rb
461
390
  - lib/chef/provider/env/windows.rb
462
- - lib/chef/provider/script.rb
463
391
  - lib/chef/provider/env.rb
464
- - lib/chef/provider/http_request.rb
465
- - lib/chef/provider/group/gpasswd.rb
466
- - lib/chef/provider/group/windows.rb
392
+ - lib/chef/provider/erl_call.rb
393
+ - lib/chef/provider/execute.rb
394
+ - lib/chef/provider/file.rb
395
+ - lib/chef/provider/git.rb
467
396
  - lib/chef/provider/group/dscl.rb
468
- - lib/chef/provider/group/usermod.rb
397
+ - lib/chef/provider/group/gpasswd.rb
469
398
  - lib/chef/provider/group/groupadd.rb
470
399
  - lib/chef/provider/group/pw.rb
471
- - lib/chef/provider/erl_call.rb
472
- - lib/chef/provider/mdadm.rb
400
+ - lib/chef/provider/group/usermod.rb
401
+ - lib/chef/provider/group/windows.rb
402
+ - lib/chef/provider/group.rb
403
+ - lib/chef/provider/http_request.rb
404
+ - lib/chef/provider/ifconfig.rb
405
+ - lib/chef/provider/link.rb
473
406
  - lib/chef/provider/log.rb
474
- - lib/chef/provider/deploy.rb
475
- - lib/chef/provider/file.rb
476
- - lib/chef/provider/cron.rb
407
+ - lib/chef/provider/mdadm.rb
408
+ - lib/chef/provider/mount/mount.rb
409
+ - lib/chef/provider/mount/windows.rb
477
410
  - lib/chef/provider/mount.rb
478
- - lib/chef/provider/user/useradd.rb
479
- - lib/chef/provider/user/windows.rb
480
- - lib/chef/provider/user/dscl.rb
481
- - lib/chef/provider/user/pw.rb
482
- - lib/chef/provider/cron/solaris.rb
411
+ - lib/chef/provider/ohai.rb
412
+ - lib/chef/provider/package/apt.rb
413
+ - lib/chef/provider/package/dpkg.rb
414
+ - lib/chef/provider/package/easy_install.rb
415
+ - lib/chef/provider/package/freebsd.rb
416
+ - lib/chef/provider/package/macports.rb
417
+ - lib/chef/provider/package/pacman.rb
418
+ - lib/chef/provider/package/portage.rb
419
+ - lib/chef/provider/package/rpm.rb
420
+ - lib/chef/provider/package/rubygems.rb
421
+ - lib/chef/provider/package/solaris.rb
422
+ - lib/chef/provider/package/yum-dump.py
423
+ - lib/chef/provider/package/yum.rb
424
+ - lib/chef/provider/package/zypper.rb
483
425
  - lib/chef/provider/package.rb
426
+ - lib/chef/provider/remote_directory.rb
427
+ - lib/chef/provider/remote_file.rb
484
428
  - lib/chef/provider/route.rb
485
- - lib/chef/provider/ifconfig.rb
486
- - lib/chef/provider/group.rb
487
- - lib/chef/recipe.rb
488
- - lib/chef/client.rb
489
- - lib/chef/checksum.rb
490
- - lib/chef/resources.rb
491
- - lib/chef/shef/shef_session.rb
492
- - lib/chef/shef/shef_rest.rb
493
- - lib/chef/shef/model_wrapper.rb
494
- - lib/chef/shef/ext.rb
495
- - lib/chef/data_bag.rb
496
- - lib/chef/role.rb
497
- - lib/chef/openid_registration.rb
498
- - lib/chef/application/agent.rb
499
- - lib/chef/application/client.rb
500
- - lib/chef/application/solo.rb
501
- - lib/chef/application/knife.rb
502
- - lib/chef/run_status.rb
503
- - lib/chef/couchdb.rb
504
- - lib/chef/checksum_cache.rb
505
- - lib/chef/index_queue/amqp_client.rb
506
- - lib/chef/index_queue/consumer.rb
507
- - lib/chef/index_queue/indexable.rb
508
- - lib/chef/data_bag_item.rb
509
- - lib/chef/applications.rb
510
- - lib/chef/sandbox.rb
511
- - lib/chef/cookbook_site_streaming_uploader.rb
512
- - lib/chef/daemon.rb
513
- - lib/chef/config.rb
514
- - lib/chef/cookbook_uploader.rb
515
- - lib/chef/cookbook_loader.rb
516
- - lib/chef/api_client.rb
517
- - lib/chef/mixins.rb
518
- - lib/chef/log.rb
519
- - lib/chef/resource_definition_list.rb
520
- - lib/chef/resource_collection.rb
521
- - lib/chef/run_context.rb
522
- - lib/chef/platform.rb
523
- - lib/chef/run_list/run_list_expansion.rb
524
- - lib/chef/run_list/run_list_item.rb
525
- - lib/chef/cookbook/file_vendor.rb
526
- - lib/chef/cookbook/metadata/version.rb
527
- - lib/chef/cookbook/metadata.rb
528
- - lib/chef/cookbook/syntax_check.rb
529
- - lib/chef/cookbook/remote_file_vendor.rb
530
- - lib/chef/cookbook/cookbook_collection.rb
531
- - lib/chef/cookbook/file_system_file_vendor.rb
532
- - lib/chef/cookbook_version.rb
533
- - lib/chef/run_list.rb
429
+ - lib/chef/provider/ruby_block.rb
430
+ - lib/chef/provider/script.rb
431
+ - lib/chef/provider/service/arch.rb
432
+ - lib/chef/provider/service/debian.rb
433
+ - lib/chef/provider/service/freebsd.rb
434
+ - lib/chef/provider/service/gentoo.rb
435
+ - lib/chef/provider/service/init.rb
436
+ - lib/chef/provider/service/insserv.rb
437
+ - lib/chef/provider/service/redhat.rb
438
+ - lib/chef/provider/service/simple.rb
439
+ - lib/chef/provider/service/solaris.rb
440
+ - lib/chef/provider/service/upstart.rb
441
+ - lib/chef/provider/service/windows.rb
442
+ - lib/chef/provider/service.rb
443
+ - lib/chef/provider/subversion.rb
444
+ - lib/chef/provider/template.rb
445
+ - lib/chef/provider/user/dscl.rb
446
+ - lib/chef/provider/user/pw.rb
447
+ - lib/chef/provider/user/useradd.rb
448
+ - lib/chef/provider/user/windows.rb
449
+ - lib/chef/provider/user.rb
534
450
  - lib/chef/provider.rb
535
- - lib/chef/resource/subversion.rb
536
- - lib/chef/resource/rpm_package.rb
537
- - lib/chef/resource/gem_package.rb
538
- - lib/chef/resource/easy_install_package.rb
451
+ - lib/chef/providers.rb
452
+ - lib/chef/recipe.rb
453
+ - lib/chef/resource/apt_package.rb
454
+ - lib/chef/resource/bash.rb
539
455
  - lib/chef/resource/breakpoint.rb
456
+ - lib/chef/resource/cookbook_file.rb
457
+ - lib/chef/resource/cron.rb
458
+ - lib/chef/resource/csh.rb
459
+ - lib/chef/resource/deploy.rb
460
+ - lib/chef/resource/deploy_revision.rb
461
+ - lib/chef/resource/directory.rb
462
+ - lib/chef/resource/dpkg_package.rb
463
+ - lib/chef/resource/easy_install_package.rb
464
+ - lib/chef/resource/env.rb
465
+ - lib/chef/resource/erl_call.rb
540
466
  - lib/chef/resource/execute.rb
541
- - lib/chef/resource/ohai.rb
542
- - lib/chef/resource/timestamped_deploy.rb
543
- - lib/chef/resource/apt_package.rb
544
- - lib/chef/resource/template.rb
467
+ - lib/chef/resource/file.rb
468
+ - lib/chef/resource/freebsd_package.rb
469
+ - lib/chef/resource/gem_package.rb
545
470
  - lib/chef/resource/git.rb
471
+ - lib/chef/resource/group.rb
472
+ - lib/chef/resource/http_request.rb
473
+ - lib/chef/resource/ifconfig.rb
546
474
  - lib/chef/resource/link.rb
547
- - lib/chef/resource/perl.rb
548
- - lib/chef/resource/pacman_package.rb
549
- - lib/chef/resource/yum_package.rb
550
- - lib/chef/resource/solaris_package.rb
551
- - lib/chef/resource/service.rb
552
- - lib/chef/resource/dpkg_package.rb
553
- - lib/chef/resource/remote_directory.rb
554
- - lib/chef/resource/remote_file.rb
555
- - lib/chef/resource/user.rb
556
- - lib/chef/resource/directory.rb
557
- - lib/chef/resource/cookbook_file.rb
558
- - lib/chef/resource/ruby_block.rb
475
+ - lib/chef/resource/log.rb
559
476
  - lib/chef/resource/macports_package.rb
560
- - lib/chef/resource/python.rb
561
- - lib/chef/resource/freebsd_package.rb
562
- - lib/chef/resource/script.rb
563
- - lib/chef/resource/env.rb
564
- - lib/chef/resource/scm.rb
565
- - lib/chef/resource/http_request.rb
566
- - lib/chef/resource/erl_call.rb
567
477
  - lib/chef/resource/mdadm.rb
568
- - lib/chef/resource/log.rb
569
- - lib/chef/resource/deploy.rb
570
- - lib/chef/resource/file.rb
571
- - lib/chef/resource/cron.rb
572
- - lib/chef/resource/portage_package.rb
573
- - lib/chef/resource/ruby.rb
574
478
  - lib/chef/resource/mount.rb
575
- - lib/chef/resource/deploy_revision.rb
576
- - lib/chef/resource/bash.rb
479
+ - lib/chef/resource/ohai.rb
577
480
  - lib/chef/resource/package.rb
481
+ - lib/chef/resource/pacman_package.rb
482
+ - lib/chef/resource/perl.rb
483
+ - lib/chef/resource/portage_package.rb
484
+ - lib/chef/resource/python.rb
485
+ - lib/chef/resource/remote_directory.rb
486
+ - lib/chef/resource/remote_file.rb
578
487
  - lib/chef/resource/route.rb
579
- - lib/chef/resource/ifconfig.rb
580
- - lib/chef/resource/csh.rb
581
- - lib/chef/resource/group.rb
582
- - lib/chef/certificate.rb
488
+ - lib/chef/resource/rpm_package.rb
489
+ - lib/chef/resource/ruby.rb
490
+ - lib/chef/resource/ruby_block.rb
491
+ - lib/chef/resource/scm.rb
492
+ - lib/chef/resource/script.rb
493
+ - lib/chef/resource/service.rb
494
+ - lib/chef/resource/solaris_package.rb
495
+ - lib/chef/resource/subversion.rb
496
+ - lib/chef/resource/template.rb
497
+ - lib/chef/resource/timestamped_deploy.rb
498
+ - lib/chef/resource/user.rb
499
+ - lib/chef/resource/yum_package.rb
500
+ - lib/chef/resource.rb
501
+ - lib/chef/resource_collection/stepable_iterator.rb
502
+ - lib/chef/resource_collection.rb
503
+ - lib/chef/resource_definition.rb
504
+ - lib/chef/resource_definition_list.rb
505
+ - lib/chef/resources.rb
506
+ - lib/chef/rest/auth_credentials.rb
507
+ - lib/chef/rest/cookie_jar.rb
508
+ - lib/chef/rest/rest_request.rb
509
+ - lib/chef/rest.rb
510
+ - lib/chef/role.rb
511
+ - lib/chef/run_context.rb
512
+ - lib/chef/run_list/run_list_expansion.rb
513
+ - lib/chef/run_list/run_list_item.rb
514
+ - lib/chef/run_list.rb
515
+ - lib/chef/run_status.rb
516
+ - lib/chef/runner.rb
517
+ - lib/chef/sandbox.rb
583
518
  - lib/chef/search/query.rb
584
- - lib/chef/mixin/convert_to_class_name.rb
585
- - lib/chef/mixin/deep_merge.rb
586
- - lib/chef/mixin/find_preferred_file.rb
587
- - lib/chef/mixin/shell_out.rb
588
- - lib/chef/mixin/checksum.rb
589
- - lib/chef/mixin/create_path.rb
590
- - lib/chef/mixin/template.rb
591
- - lib/chef/mixin/command/windows.rb
592
- - lib/chef/mixin/command/unix.rb
593
- - lib/chef/mixin/from_file.rb
594
- - lib/chef/mixin/recipe_definition_dsl_core.rb
595
- - lib/chef/mixin/deprecation.rb
596
- - lib/chef/mixin/language.rb
597
- - lib/chef/mixin/xml_escape.rb
598
- - lib/chef/mixin/language_include_recipe.rb
599
- - lib/chef/mixin/check_helper.rb
600
- - lib/chef/mixin/command.rb
601
- - lib/chef/mixin/params_validate.rb
602
- - lib/chef/mixin/language_include_attribute.rb
603
- - lib/chef/json_compat.rb
604
- - lib/chef/knife.rb
519
+ - lib/chef/shef/ext.rb
520
+ - lib/chef/shef/model_wrapper.rb
521
+ - lib/chef/shef/shef_rest.rb
522
+ - lib/chef/shef/shef_session.rb
523
+ - lib/chef/shef.rb
524
+ - lib/chef/shell_out.rb
525
+ - lib/chef/streaming_cookbook_uploader.rb
526
+ - lib/chef/tasks/chef_repo.rake
527
+ - lib/chef/util/file_edit.rb
528
+ - lib/chef/util/windows/net_group.rb
529
+ - lib/chef/util/windows/net_use.rb
530
+ - lib/chef/util/windows/net_user.rb
531
+ - lib/chef/util/windows/volume.rb
532
+ - lib/chef/util/windows.rb
533
+ - lib/chef/version.rb
534
+ - lib/chef/webui_user.rb
605
535
  - lib/chef.rb
606
536
  - bin/chef-client
607
537
  - bin/chef-solo
@@ -621,23 +551,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
621
551
  requirements:
622
552
  - - ">="
623
553
  - !ruby/object:Gem::Version
624
- hash: 3
625
- segments:
626
- - 0
627
554
  version: "0"
628
555
  required_rubygems_version: !ruby/object:Gem::Requirement
629
556
  none: false
630
557
  requirements:
631
558
  - - ">="
632
559
  - !ruby/object:Gem::Version
633
- hash: 3
634
- segments:
635
- - 0
636
560
  version: "0"
637
561
  requirements: []
638
562
 
639
563
  rubyforge_project:
640
- rubygems_version: 1.3.7
564
+ rubygems_version: 1.6.2
641
565
  signing_key:
642
566
  specification_version: 3
643
567
  summary: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.