chef 10.32.0.rc.0-x86-mingw32 → 10.32.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/distro/common/html/chef-client.8.html +4 -4
  3. data/distro/common/html/chef-expander.8.html +4 -4
  4. data/distro/common/html/chef-expanderctl.8.html +4 -4
  5. data/distro/common/html/chef-server-webui.8.html +4 -4
  6. data/distro/common/html/chef-server.8.html +4 -4
  7. data/distro/common/html/chef-solo.8.html +4 -4
  8. data/distro/common/html/chef-solr.8.html +4 -4
  9. data/distro/common/html/knife-bootstrap.1.html +4 -4
  10. data/distro/common/html/knife-client.1.html +4 -4
  11. data/distro/common/html/knife-configure.1.html +4 -4
  12. data/distro/common/html/knife-cookbook-site.1.html +4 -4
  13. data/distro/common/html/knife-cookbook.1.html +4 -4
  14. data/distro/common/html/knife-data-bag.1.html +4 -4
  15. data/distro/common/html/knife-environment.1.html +4 -4
  16. data/distro/common/html/knife-exec.1.html +4 -4
  17. data/distro/common/html/knife-index.1.html +4 -4
  18. data/distro/common/html/knife-node.1.html +4 -4
  19. data/distro/common/html/knife-role.1.html +4 -4
  20. data/distro/common/html/knife-search.1.html +4 -4
  21. data/distro/common/html/knife-ssh.1.html +4 -4
  22. data/distro/common/html/knife-status.1.html +4 -4
  23. data/distro/common/html/knife-tag.1.html +4 -4
  24. data/distro/common/html/knife.1.html +4 -4
  25. data/distro/common/html/shef.1.html +4 -4
  26. data/distro/common/man/man1/knife-bootstrap.1 +201 -0
  27. data/distro/common/man/man1/knife-client.1 +99 -0
  28. data/distro/common/man/man1/knife-configure.1 +88 -0
  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 +1 -1
  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/lib/chef/application/client.rb +7 -4
  51. data/lib/chef/version.rb +1 -1
  52. data/spec/unit/application/client_spec.rb +2 -1
  53. metadata +12 -12
@@ -0,0 +1,88 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "KNIFE\-CONFIGURE" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBknife\-configure\fR \- Generate configuration files for knife or Chef Client
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBknife\fR \fBconfigure\fR [client] \fI(options)\fR
11
+ .
12
+ .SH "DESCRIPTION"
13
+ Generates a knife\.rb configuration file interactively\. When given the \-\-initial option, also creates a new administrative user\.
14
+ .
15
+ .SH "CONFIGURE SUBCOMMANDS"
16
+ \fBknife configure\fR \fI(options)\fR
17
+ .
18
+ .TP
19
+ \fB\-i\fR, \fB\-\-initial\fR
20
+ Create an initial API Client
21
+ .
22
+ .TP
23
+ \fB\-r\fR, \fB\-\-repository REPO\fR
24
+ The path to your chef\-repo
25
+ .
26
+ .P
27
+ Create a configuration file for knife\. This will prompt for values to enter into the file\. Default values are listed in square brackets if no other entry is typed\. See \fBknife\fR(1) for a description of configuration options\.
28
+ .
29
+ .P
30
+ \fBknife configure client\fR \fIdirectory\fR
31
+ .
32
+ .P
33
+ Read the \fIknife\.rb\fR config file and generate a config file suitable for use in \fI/etc/chef/client\.rb\fR and copy the validation certificate into the specified \fIdirectory\fR\.
34
+ .
35
+ .SH "EXAMPLES"
36
+ .
37
+ .IP "\(bu" 4
38
+ On a freshly installed Chef Server, use \fIknife configure \-i\fR to create an administrator and knife configuration file\. Leave the field blank to accept the default value\. On most systems, the default values are acceptable\.
39
+ .
40
+ .IP
41
+ user@host$ knife configure \-i
42
+ .
43
+ .br
44
+ Please enter the chef server URL: [http://localhost:4000]
45
+ .
46
+ .br
47
+ Please enter a clientname for the new client: [username]
48
+ .
49
+ .br
50
+ Please enter the existing admin clientname: [chef\-webui]
51
+ .
52
+ .br
53
+ Please enter the location of the existing admin client\'s private key: [/etc/chef/webui\.pem]
54
+ .
55
+ .br
56
+ Please enter the validation clientname: [chef\-validator]
57
+ .
58
+ .br
59
+ Please enter the location of the validation key: [/etc/chef/validation\.pem]
60
+ .
61
+ .br
62
+ Please enter the path to a chef repository (or leave blank):
63
+ .
64
+ .br
65
+ Creating initial API user\.\.\.
66
+ .
67
+ .br
68
+ Created (or updated) client[username]
69
+ .
70
+ .br
71
+ Configuration file written to /home/username/\.chef/knife\.rb
72
+ .
73
+ .IP
74
+ This creates a new administrator client named \fIusername\fR, writes a configuration file to \fI/home/username/\.chef/knife\.rb\fR, and the private key to \fI/home/username/\.chef/username\.pem\fR\. The configuration file and private key may be copied to another system to facilitate administration of the Chef Server from a remote system\. Depending on the value given for the Chef Server URL, you may need to modify that setting after copying to a remote host\.
75
+ .
76
+ .IP "" 0
77
+ .
78
+ .SH "SEE ALSO"
79
+ \fBknife\fR(1) \fBknife\-client\fR(1)
80
+ .
81
+ .SH "AUTHOR"
82
+ Chef was written by Adam Jacob \fIadam@opscode\.com\fR with many contributions from the community\.
83
+ .
84
+ .SH "DOCUMENTATION"
85
+ This manual page was written by Joshua Timberman \fIjoshua@opscode\.com\fR\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
86
+ .
87
+ .SH "CHEF"
88
+ Knife is distributed with Chef\. \fIhttp://wiki\.opscode\.com/display/chef/Home\fR
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-COOKBOOK\-SITE" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK\-SITE" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-cookbook\-site\fR \- Install and update open source cookbooks
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-COOKBOOK" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-cookbook\fR \- upload and manage chef cookbooks
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-DATA\-BAG" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-DATA\-BAG" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-data\-bag\fR \- Store arbitrary data on a Chef Server
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-ENVIRONMENT" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-ENVIRONMENT" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-environment\fR \- Define cookbook policies for the environments in your infrastructure
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-EXEC" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-EXEC" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-exec\fR \- Run user scripts using the Chef API DSL
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-INDEX" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-INDEX" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-index\fR \- Rebuild the search index on a Chef Server
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-NODE" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-NODE" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-node\fR \- Manage the hosts in your infrastructure
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-ROLE" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-ROLE" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-role\fR \- Group common configuration settings
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-SEARCH" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-SEARCH" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-search\fR \- Find objects on a Chef Server by query
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-SSH" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-SSH" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-ssh\fR \- Run a command or interactive session on multiple remote hosts
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-STATUS" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-STATUS" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-status\fR \- Display status information for the nodes in your infrastructure
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-TAG" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-TAG" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-tag\fR \- Apply tags to nodes on a Chef Server
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "KNIFE" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\fR \- Chef Server API client utility
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "SHEF" "1" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "SHEF" "1" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBshef\fR \- Interactive Chef Console
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-CLIENT" "8" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "CHEF\-CLIENT" "8" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-client\fR \- Runs a client node connecting to a chef\-server\.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-EXPANDER" "8" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "CHEF\-EXPANDER" "8" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-expander\fR \- fetches messages from RabbitMQ, processes, and loads into chef\-solr
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-EXPANDERCTL" "8" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "CHEF\-EXPANDERCTL" "8" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-expanderctl\fR \- management program for chef\-expander
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-SERVER\-WEBUI" "8" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "CHEF\-SERVER\-WEBUI" "8" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-server\-webui\fR \- Start the Chef Server merb application slice providing Web User Interface (Management Console)\.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-SERVER" "8" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "CHEF\-SERVER" "8" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-server\fR \- Start the Chef Server merb application slice\.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-SOLO" "8" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "CHEF\-SOLO" "8" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-solo\fR \- Runs chef in solo mode against a specified cookbook location\.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "CHEF\-SOLR" "8" "March 2014" "Chef 10.32.0.rc.0" "Chef Manual"
4
+ .TH "CHEF\-SOLR" "8" "April 2014" "Chef 10.32.2" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-solr\fR \- Runs as Chef\'s search server
@@ -256,10 +256,13 @@ class Chef::Application::Client < Chef::Application
256
256
  SELF_PIPE[1].putc('.') # wakeup master process from select
257
257
  end
258
258
 
259
- trap("TERM") do
260
- Chef::Log.info("SIGTERM received, exiting gracefully")
261
- @exit_gracefully = true
262
- SELF_PIPE[1].putc('.')
259
+ # see CHEF-5172
260
+ if Chef::Config[:daemonize] || Chef::Config[:interval]
261
+ trap("TERM") do
262
+ Chef::Log.info("SIGTERM received, exiting gracefully")
263
+ @exit_gracefully = true
264
+ SELF_PIPE[1].putc('.')
265
+ end
263
266
  end
264
267
  end
265
268
 
data/lib/chef/version.rb CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  class Chef
19
19
  CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
20
- VERSION = '10.32.0.rc.0'
20
+ VERSION = '10.32.2'
21
21
  end
22
22
 
23
23
  # NOTE: the Chef::Version class is defined in version_class.rb
@@ -137,11 +137,12 @@ end
137
137
 
138
138
  describe Chef::Application::Client, "run_application", :unix_only do
139
139
  before do
140
- Chef::Config[:daemonize] = false
140
+ Chef::Config[:daemonize] = true
141
141
  Chef::Config[:interval] = 10
142
142
 
143
143
  @pipe = IO.pipe
144
144
  @app = Chef::Application::Client.new
145
+ Chef::Daemon.stub!(:daemonize).and_return(true)
145
146
  @app.stub(:run_chef_client) do
146
147
  @pipe[1].puts 'started'
147
148
  sleep 1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.32.0.rc.0
4
+ version: 10.32.2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-01 00:00:00.000000000 Z
11
+ date: 2014-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-config
@@ -169,7 +169,7 @@ dependencies:
169
169
  version: 1.4.4
170
170
  - - "<="
171
171
  - !ruby/object:Gem::Version
172
- version: 1.7.7
172
+ version: 1.8.1
173
173
  type: :runtime
174
174
  prerelease: false
175
175
  version_requirements: !ruby/object:Gem::Requirement
@@ -179,7 +179,7 @@ dependencies:
179
179
  version: 1.4.4
180
180
  - - "<="
181
181
  - !ruby/object:Gem::Version
182
- version: 1.7.7
182
+ version: 1.8.1
183
183
  - !ruby/object:Gem::Dependency
184
184
  name: yajl-ruby
185
185
  requirement: !ruby/object:Gem::Requirement
@@ -299,21 +299,21 @@ dependencies:
299
299
  - !ruby/object:Gem::Version
300
300
  version: '0'
301
301
  - !ruby/object:Gem::Dependency
302
- name: rdoc
302
+ name: sdoc
303
303
  requirement: !ruby/object:Gem::Requirement
304
304
  requirements:
305
- - - ">="
305
+ - - "~>"
306
306
  - !ruby/object:Gem::Version
307
- version: '0'
307
+ version: 0.3.0
308
308
  type: :development
309
309
  prerelease: false
310
310
  version_requirements: !ruby/object:Gem::Requirement
311
311
  requirements:
312
- - - ">="
312
+ - - "~>"
313
313
  - !ruby/object:Gem::Version
314
- version: '0'
314
+ version: 0.3.0
315
315
  - !ruby/object:Gem::Dependency
316
- name: sdoc
316
+ name: rdoc
317
317
  requirement: !ruby/object:Gem::Requirement
318
318
  requirements:
319
319
  - - ">="
@@ -1556,9 +1556,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1556
1556
  version: '0'
1557
1557
  required_rubygems_version: !ruby/object:Gem::Requirement
1558
1558
  requirements:
1559
- - - ">"
1559
+ - - ">="
1560
1560
  - !ruby/object:Gem::Version
1561
- version: 1.3.1
1561
+ version: '0'
1562
1562
  requirements: []
1563
1563
  rubyforge_project:
1564
1564
  rubygems_version: 2.2.2