microwave 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/Rakefile +4 -4
  2. data/bin/chef-solo +2 -0
  3. data/spec/spec_helper.rb +2 -0
  4. data/spec/unit/checksum/storage/filesystem_spec.rb +4 -4
  5. data/spec/unit/config_spec.rb +7 -4
  6. data/spec/unit/data_bag_spec.rb +11 -11
  7. data/spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb +8 -8
  8. data/spec/unit/formatters/error_inspectors/resource_failure_inspector_spec.rb +5 -5
  9. metadata +10 -124
  10. data/distro/README +0 -2
  11. data/distro/arch/etc/conf.d/chef-client.conf +0 -5
  12. data/distro/arch/etc/conf.d/chef-expander.conf +0 -8
  13. data/distro/arch/etc/conf.d/chef-server-webui.conf +0 -10
  14. data/distro/arch/etc/conf.d/chef-server.conf +0 -10
  15. data/distro/arch/etc/conf.d/chef-solr.conf +0 -8
  16. data/distro/arch/etc/rc.d/chef-client +0 -90
  17. data/distro/arch/etc/rc.d/chef-expander +0 -78
  18. data/distro/arch/etc/rc.d/chef-server +0 -78
  19. data/distro/arch/etc/rc.d/chef-server-webui +0 -78
  20. data/distro/arch/etc/rc.d/chef-solr +0 -78
  21. data/distro/common/html/chef-client.8.html +0 -145
  22. data/distro/common/html/chef-expander.8.html +0 -164
  23. data/distro/common/html/chef-expanderctl.8.html +0 -146
  24. data/distro/common/html/chef-server-webui.8.html +0 -185
  25. data/distro/common/html/chef-server.8.html +0 -182
  26. data/distro/common/html/chef-solo.8.html +0 -191
  27. data/distro/common/html/chef-solr.8.html +0 -165
  28. data/distro/common/html/knife-bootstrap.1.html +0 -241
  29. data/distro/common/html/knife-client.1.html +0 -219
  30. data/distro/common/html/knife-configure.1.html +0 -170
  31. data/distro/common/html/knife-cookbook-site.1.html +0 -241
  32. data/distro/common/html/knife-cookbook.1.html +0 -384
  33. data/distro/common/html/knife-data-bag.1.html +0 -238
  34. data/distro/common/html/knife-environment.1.html +0 -267
  35. data/distro/common/html/knife-exec.1.html +0 -134
  36. data/distro/common/html/knife-index.1.html +0 -125
  37. data/distro/common/html/knife-node.1.html +0 -250
  38. data/distro/common/html/knife-recipe.1.html +0 -92
  39. data/distro/common/html/knife-role.1.html +0 -200
  40. data/distro/common/html/knife-search.1.html +0 -288
  41. data/distro/common/html/knife-ssh.1.html +0 -156
  42. data/distro/common/html/knife-status.1.html +0 -128
  43. data/distro/common/html/knife-tag.1.html +0 -137
  44. data/distro/common/html/knife.1.html +0 -320
  45. data/distro/common/html/shef.1.html +0 -283
  46. data/distro/common/man/man1/knife-bootstrap.1 +0 -201
  47. data/distro/common/man/man1/knife-client.1 +0 -99
  48. data/distro/common/man/man1/knife-configure.1 +0 -88
  49. data/distro/common/man/man1/knife-cookbook-site.1 +0 -145
  50. data/distro/common/man/man1/knife-cookbook.1 +0 -345
  51. data/distro/common/man/man1/knife-data-bag.1 +0 -136
  52. data/distro/common/man/man1/knife-environment.1 +0 -178
  53. data/distro/common/man/man1/knife-exec.1 +0 -46
  54. data/distro/common/man/man1/knife-index.1 +0 -29
  55. data/distro/common/man/man1/knife-node.1 +0 -134
  56. data/distro/common/man/man1/knife-role.1 +0 -88
  57. data/distro/common/man/man1/knife-search.1 +0 -280
  58. data/distro/common/man/man1/knife-ssh.1 +0 -79
  59. data/distro/common/man/man1/knife-status.1 +0 -29
  60. data/distro/common/man/man1/knife-tag.1 +0 -43
  61. data/distro/common/man/man1/knife.1 +0 -288
  62. data/distro/common/man/man1/shef.1 +0 -256
  63. data/distro/common/man/man8/chef-client.8 +0 -104
  64. data/distro/common/man/man8/chef-expander.8 +0 -97
  65. data/distro/common/man/man8/chef-expanderctl.8 +0 -62
  66. data/distro/common/man/man8/chef-server-webui.8 +0 -155
  67. data/distro/common/man/man8/chef-server.8 +0 -147
  68. data/distro/common/man/man8/chef-solo.8 +0 -158
  69. data/distro/common/man/man8/chef-solr.8 +0 -122
  70. data/distro/common/markdown/README +0 -3
  71. data/distro/common/markdown/man1/knife-bootstrap.mkd +0 -141
  72. data/distro/common/markdown/man1/knife-client.mkd +0 -103
  73. data/distro/common/markdown/man1/knife-configure.mkd +0 -70
  74. data/distro/common/markdown/man1/knife-cookbook-site.mkd +0 -123
  75. data/distro/common/markdown/man1/knife-cookbook.mkd +0 -263
  76. data/distro/common/markdown/man1/knife-data-bag.mkd +0 -121
  77. data/distro/common/markdown/man1/knife-environment.mkd +0 -151
  78. data/distro/common/markdown/man1/knife-exec.mkd +0 -37
  79. data/distro/common/markdown/man1/knife-index.mkd +0 -30
  80. data/distro/common/markdown/man1/knife-node.mkd +0 -130
  81. data/distro/common/markdown/man1/knife-role.mkd +0 -85
  82. data/distro/common/markdown/man1/knife-search.mkd +0 -180
  83. data/distro/common/markdown/man1/knife-ssh.mkd +0 -69
  84. data/distro/common/markdown/man1/knife-status.mkd +0 -36
  85. data/distro/common/markdown/man1/knife-tag.mkd +0 -39
  86. data/distro/common/markdown/man1/knife.mkd +0 -218
  87. data/distro/common/markdown/man1/shef.mkd +0 -189
  88. data/distro/common/markdown/man8/chef-client.mkd +0 -74
  89. data/distro/common/markdown/man8/chef-expander.mkd +0 -82
  90. data/distro/common/markdown/man8/chef-expanderctl.mkd +0 -58
  91. data/distro/common/markdown/man8/chef-server-webui.mkd +0 -121
  92. data/distro/common/markdown/man8/chef-server.mkd +0 -121
  93. data/distro/common/markdown/man8/chef-solo.mkd +0 -107
  94. data/distro/common/markdown/man8/chef-solr.mkd +0 -89
  95. data/distro/debian/etc/default/chef-client +0 -4
  96. data/distro/debian/etc/default/chef-expander +0 -8
  97. data/distro/debian/etc/default/chef-server +0 -9
  98. data/distro/debian/etc/default/chef-server-webui +0 -9
  99. data/distro/debian/etc/default/chef-solr +0 -8
  100. data/distro/debian/etc/init.d/chef-client +0 -210
  101. data/distro/debian/etc/init.d/chef-expander +0 -176
  102. data/distro/debian/etc/init.d/chef-server +0 -122
  103. data/distro/debian/etc/init.d/chef-server-webui +0 -123
  104. data/distro/debian/etc/init.d/chef-solr +0 -176
  105. data/distro/debian/etc/init/chef-client.conf +0 -17
  106. data/distro/debian/etc/init/chef-expander.conf +0 -17
  107. data/distro/debian/etc/init/chef-server-webui.conf +0 -17
  108. data/distro/debian/etc/init/chef-server.conf +0 -17
  109. data/distro/debian/etc/init/chef-solr.conf +0 -17
  110. data/distro/redhat/etc/init.d/chef-client +0 -121
  111. data/distro/redhat/etc/init.d/chef-expander +0 -104
  112. data/distro/redhat/etc/init.d/chef-server +0 -112
  113. data/distro/redhat/etc/init.d/chef-server-webui +0 -112
  114. data/distro/redhat/etc/init.d/chef-solr +0 -104
  115. data/distro/redhat/etc/logrotate.d/chef-client +0 -8
  116. data/distro/redhat/etc/logrotate.d/chef-expander +0 -8
  117. data/distro/redhat/etc/logrotate.d/chef-server +0 -8
  118. data/distro/redhat/etc/logrotate.d/chef-server-webui +0 -8
  119. data/distro/redhat/etc/logrotate.d/chef-solr +0 -8
  120. data/distro/redhat/etc/sysconfig/chef-client +0 -15
  121. data/distro/redhat/etc/sysconfig/chef-expander +0 -7
  122. data/distro/redhat/etc/sysconfig/chef-server +0 -14
  123. data/distro/redhat/etc/sysconfig/chef-server-webui +0 -14
  124. data/distro/redhat/etc/sysconfig/chef-solr +0 -8
  125. data/distro/windows/service_manager.rb +0 -164
@@ -1,104 +0,0 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "CHEF\-CLIENT" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
5
- .
6
- .SH "NAME"
7
- \fBchef\-client\fR \- Runs a client node connecting to a chef\-server\.
8
- .
9
- .SH "SYNOPSIS"
10
- \fBchef\-client\fR \fI(options)\fR
11
- .
12
- .TP
13
- \fB\-S\fR, \fB\-\-server CHEFSERVERURL\fR
14
- The chef server URL
15
- .
16
- .TP
17
- \fB\-c\fR, \fB\-\-config CONFIG\fR
18
- The configuration file to use
19
- .
20
- .TP
21
- \fB\-d\fR, \fB\-\-daemonize\fR
22
- Daemonize the process
23
- .
24
- .TP
25
- \fB\-g\fR, \fB\-\-group GROUP\fR
26
- Group to set privilege to
27
- .
28
- .TP
29
- \fB\-i\fR, \fB\-\-interval SECONDS\fR
30
- Run chef\-client periodically, in seconds
31
- .
32
- .TP
33
- \fB\-j\fR, \fB\-\-json\-attributes JSON_ATTRIBS\fR
34
- Load attributes from a JSON file or URL
35
- .
36
- .TP
37
- \fB\-E\fR, \fB\-\-environment ENVIRONMENT\fR
38
- Set the Chef Environment on the node
39
- .
40
- .TP
41
- \fB\-l\fR, \fB\-\-log_level LEVEL\fR
42
- Set the log level (debug, info, warn, error, fatal)
43
- .
44
- .TP
45
- \fB\-L\fR, \fB\-\-logfile LOGLOCATION\fR
46
- Set the log file location, defaults to STDOUT \- recommended for daemonizing
47
- .
48
- .TP
49
- \fB\-N\fR, \fB\-\-node\-name NODE_NAME\fR
50
- The node name for this client
51
- .
52
- .TP
53
- \fB\-o\fR, \fB\-\-override\-runlist\fR
54
- Replace current run list with specified items
55
- .
56
- .TP
57
- \fB\-K\fR, \fB\-\-validation_key KEY_FILE\fR
58
- Set the validation key file location, used for registering new clients
59
- .
60
- .TP
61
- \fB\-k\fR, \fB\-\-client_key KEY_FILE\fR
62
- Set the client key file location
63
- .
64
- .TP
65
- \fB\-s\fR, \fB\-\-splay SECONDS\fR
66
- The splay time for running at intervals, in seconds
67
- .
68
- .TP
69
- \fB\-u\fR, \fB\-\-user USER\fR
70
- User to set privilege to
71
- .
72
- .TP
73
- \fB\-P\fR, \fB\-\-pid PIDFILE\fR
74
- Set the PID file location, defaults to /tmp/chef\-client\.pid
75
- .
76
- .TP
77
- \fB\-\-once\fR
78
- Cancel any interval or splay options, run chef once and exit
79
- .
80
- .TP
81
- \fB\-v\fR, \fB\-\-version\fR
82
- Show chef version
83
- .
84
- .TP
85
- \fB\-h\fR, \fB\-\-help\fR
86
- Show this message
87
- .
88
- .SH "DESCRIPTION"
89
- The Chef Client is where almost all of the work in Chef is done\. It communicates with the Chef Server via REST, authenticates via Signed Header Authentication, and compiles and executes Cookbooks\.
90
- .
91
- .P
92
- A Chef Client does work on behalf of a Node\. A single Chef Client can run recipes for multiple Nodes\.
93
- .
94
- .P
95
- Clients are where all the action happens \- the Chef Server and Chef Expander are largely services that exist only to provide the Client with information\.
96
- .
97
- .SH "SEE ALSO"
98
- Full documentation for Chef and chef\-client is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
99
- .
100
- .SH "AUTHOR"
101
- Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was written by Joshua Timberman \fIjoshua@opscode\.com\fR with help2man\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
102
- .
103
- .P
104
- On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.
@@ -1,97 +0,0 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "CHEF\-EXPANDER" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
5
- .
6
- .SH "NAME"
7
- \fBchef\-expander\fR \- fetches messages from RabbitMQ, processes, and loads into chef\-solr
8
- .
9
- .SH "SYNOPSIS"
10
- \fBchef\-expander\fR \fI(options)\fR
11
- .
12
- .TP
13
- \fB\-c\fR, \fB\-\-config CONFIG_FILE\fR
14
- a configuration file to use
15
- .
16
- .TP
17
- \fB\-i\fR, \fB\-\-index INDEX\fR
18
- the slot this node will occupy in the ring
19
- .
20
- .TP
21
- \fB\-n\fR, \fB\-\-node\-count NUMBER\fR
22
- the number of nodes in the ring
23
- .
24
- .TP
25
- \fB\-l\fR, \fB\-\-log\-level LOG_LEVEL\fR
26
- set the log level
27
- .
28
- .TP
29
- \fB\-L\fR, \fB\-\-logfile LOG_LOCATION\fR
30
- Logfile to use
31
- .
32
- .TP
33
- \fB\-d\fR, \fB\-\-daemonize\fR
34
- fork into the background
35
- .
36
- .TP
37
- \fB\-P\fR, \fB\-\-pid PIDFILE\fR
38
- PID file
39
- .
40
- .TP
41
- \fB\-h\fR, \fB\-\-help\fR
42
- show help message
43
- .
44
- .TP
45
- \fB\-v\fR, \fB\-\-version\fR
46
- show the version and exit
47
- .
48
- .SH "DESCRIPTION"
49
- Chef Expander fetches messages from RabbitMQ, processes them into the correct format to be loaded into Solr and loads them into Solr\.
50
- .
51
- .P
52
- \fBRunning Chef Expander\fR
53
- .
54
- .P
55
- Chef Expander is designed for clustered operation, though small installations will only need one worker process\. To run Chef Expander with one worker process, run chef\-expander \-n 1\. You will then have a master and worker process, which looks like this in ps:
56
- .
57
- .IP "" 4
58
- .
59
- .nf
60
-
61
- your\-shell> ps aux|grep expander
62
- you 52110 0\.1 0\.7 2515476 62748 s003 S+ 3:49PM 0:00\.80 chef\-expander worker #1 (vnodes 0\-1023)
63
- you 52108 0\.1 0\.5 2492880 41696 s003 S+ 3:49PM 0:00\.91 ruby bin/chef\-expander \-n 1
64
- .
65
- .fi
66
- .
67
- .IP "" 0
68
- .
69
- .P
70
- Workers are single threaded and therefore cannot use more than 100% of a single CPU\. If you find that your queues are getting backlogged, increase the number of workers
71
- .
72
- .P
73
- \fBDesign\fR
74
- .
75
- .P
76
- Chef Expander uses 1024 queues (called vnodes in some places) to allow you to scale the number of Chef Expander workers to meet the needs of your infrastructure\. When objects are saved in the API server, they are added to queues based on their database IDs\. These queues can be assigned to different Chef Expander workers to distribute the load of processing the index updates\.
77
- .
78
- .P
79
- \fBChef Expander Operation and Troubleshooting\fR
80
- .
81
- .P
82
- Chef Expander includes chef\-expanderctl, a management program that allows you to get status information or change the logging verbosity (without restarting)\.
83
- .
84
- .P
85
- See \fBchef\-expanderctl\fR(8) for details\.
86
- .
87
- .SH "SEE ALSO"
88
- \fBchef\-expanderctl\fR(8) \fBchef\-solr\fR(8)
89
- .
90
- .P
91
- Full documentation for Chef and chef\-server is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
92
- .
93
- .SH "AUTHOR"
94
- Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was created by Nuo Yan \fInuo@opscode\.com\fR\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
95
- .
96
- .P
97
- On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.
@@ -1,62 +0,0 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "CHEF\-EXPANDERCTL" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
5
- .
6
- .SH "NAME"
7
- \fBchef\-expanderctl\fR \- management program for chef\-expander
8
- .
9
- .SH "SYNOPSIS"
10
- \fBchef\-expanderctl\fR \fICOMMAND\fR
11
- .
12
- .P
13
- \fBCommands:\fR
14
- .
15
- .TP
16
- \fBhelp\fR
17
- Show help message
18
- .
19
- .TP
20
- \fBqueue\-depth\fR
21
- display the aggregate queue backlog
22
- .
23
- .TP
24
- \fBqueue\-status\fR
25
- show the backlog and consumer count for each vnode queue
26
- .
27
- .TP
28
- \fBnode\-status\fR
29
- show the status of the nodes in the cluster
30
- .
31
- .TP
32
- \fBlog\-level\fR
33
- sets the log level of all nodes in the cluster
34
- .
35
- .SH "DESCRIPTION"
36
- Chef\-expanderctl is a management program that allows you to get status information or change the logging verbosity (without restarting)\. chef\-expanderctl has the following commands:
37
- .
38
- .IP "\(bu" 4
39
- \fBchef\-expanderctl help\fR prints usage\.
40
- .
41
- .IP "\(bu" 4
42
- \fBchef\-expanderctl queue\-depth\fR Shows the total number of messages in the queues\.
43
- .
44
- .IP "\(bu" 4
45
- \fBchef\-expanderctl queue\-status\fR Show the number of messages in each queue\. This is mainly of use when debugging a Chef Expander cluster\.
46
- .
47
- .IP "\(bu" 4
48
- \fBchef\-expanderctl log\-level LEVEL\fR Sets the log level on a running Chef Expander or cluster\. If you suspect that a worker process is stuck, as long as you are using clustered operation, you can simply kill the worker process and it will be restarted by the master process\.
49
- .
50
- .IP "" 0
51
- .
52
- .SH "SEE ALSO"
53
- \fBchef\-expander\-cluster\fR(8) \fBchef\-solr\fR(8)
54
- .
55
- .P
56
- Full documentation for Chef and chef\-server is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
57
- .
58
- .SH "AUTHOR"
59
- Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was created by Nuo Yan \fInuo@opscode\.com\fR\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
60
- .
61
- .P
62
- On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.
@@ -1,155 +0,0 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "CHEF\-SERVER\-WEBUI" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
5
- .
6
- .SH "NAME"
7
- \fBchef\-server\-webui\fR \- Start the Chef Server merb application slice providing Web User Interface (Management Console)\.
8
- .
9
- .SH "SYNOPSIS"
10
- \fBchef\-server\-webui\fR \fI(options)\fR
11
- .
12
- .TP
13
- \fB\-u\fR, \fB\-\-user USER\fR
14
- This flag is for having chef\-server\-webui run as a user other than the one currently logged in\. Note: if you set this you must also provide a \-\-group option for it to take effect\.
15
- .
16
- .TP
17
- \fB\-G\fR, \fB\-\-group GROUP\fR
18
- This flag is for having chef\-server\-webui run as a group other than the one currently logged in\. Note: if you set this you must also provide a \-\-user option for it to take effect\.
19
- .
20
- .TP
21
- \fB\-d\fR, \fB\-\-daemonize\fR
22
- This will run a single chef\-server\-webui in the background\.
23
- .
24
- .TP
25
- \fB\-N\fR, \fB\-\-no\-daemonize\fR
26
- This will allow you to run a cluster in console mode\.
27
- .
28
- .TP
29
- \fB\-c\fR, \fB\-\-cluster\-nodes NUM_MERBS\fR
30
- Number of merb daemons to run for chef\-server\-webui\.
31
- .
32
- .TP
33
- \fB\-I\fR, \fB\-\-init\-file FILE\fR
34
- File to use for initialization on load, defaults to config/init\.rb\.
35
- .
36
- .TP
37
- \fB\-p\fR, \fB\-\-port PORTNUM\fR
38
- Port to run chef\-server\-webui on, defaults to 4040\. Additional nodes (\-c) listen on incrementing port numbers\.
39
- .
40
- .TP
41
- \fB\-o\fR, \fB\-\-socket\-file FILE\fR
42
- Socket file to run chef\-server\-webui on, defaults to [Merb\.root]/log/merb\.sock\. This is for web servers, like thin, that use sockets\. Specify this \fIonly\fR if you \fImust\fR\.
43
- .
44
- .TP
45
- \fB\-s\fR, \fB\-\-socket SOCKNUM\fR
46
- Socket number to run chef\-server\-webui on, defaults to 0\.
47
- .
48
- .TP
49
- \fB\-n\fR, \fB\-\-name NAME\fR
50
- Set the name of the application\. This is used in the process title and log file names\.
51
- .
52
- .TP
53
- \fB\-P\fR, \fB\-\-pid PIDFILE\fR
54
- PID file, defaults to [Merb\.root]/log/merb\.main\.pid for the master process and[Merb\.root]/log/merb\.[port number]\.pid for worker processes\. For clusters, use %s to specify where in the file chef\-server\-webui should place the port number\. For instance: \-P myapp\.%s\.pid\.
55
- .
56
- .TP
57
- \fB\-h\fR, \fB\-\-host HOSTNAME\fR
58
- Host to bind to (default is 0\.0\.0\.0)\.
59
- .
60
- .TP
61
- \fB\-m\fR, \fB\-\-merb\-root PATH_TO_APP_ROOT\fR
62
- The path to the Merb\.root for the app you want to run (default is current working directory)\.
63
- .
64
- .TP
65
- \fB\-a\fR, \fB\-\-adapter ADAPTER\fR
66
- The rack adapter to use to run chef\-server\-webui (default is mongrel) [mongrel, emongrel, thin, ebb, fastcgi, webrick]\.
67
- .
68
- .TP
69
- \fB\-R\fR, \fB\-\-rackup FILE\fR
70
- Load an alternate Rack config file (default is config/rack\.rb)\.
71
- .
72
- .TP
73
- \fB\-i\fR, \fB\-\-irb\-console\fR
74
- This flag will start chef\-server\-webui in irb console mode\. All your models and other classes will be available for you in an irb session\.
75
- .
76
- .TP
77
- \fB\-S\fR, \fB\-\-sandbox\fR
78
- This flag will enable a sandboxed irb console\. If your ORM supports transactions, all edits will be rolled back on exit\.
79
- .
80
- .TP
81
- \fB\-l\fR, \fB\-\-log\-level LEVEL\fR
82
- Log levels can be set to any of these options: debug < info < warn < error < fatal (default is info)\.
83
- .
84
- .TP
85
- \fB\-L\fR, \fB\-\-log LOGFILE\fR
86
- A string representing the logfile to use\. Defaults to [Merb\.root]/log/merb\.[main]\.log for the master process and [Merb\.root]/log/merb[port number]\.logfor worker processes\.
87
- .
88
- .TP
89
- \fB\-e\fR, \fB\-\-environment STRING\fR
90
- Environment to run Merb under [development, production, testing] (default is development)\.
91
- .
92
- .TP
93
- \fB\-r\fR, \fB\-\-script\-runner [\'RUBY CODE\'| FULL_SCRIPT_PATH]\fR
94
- Command\-line option to run scripts and/or code in the chef\-server\-webui app\.
95
- .
96
- .TP
97
- \fB\-K\fR, \fB\-graceful PORT or all\fR
98
- Gracefully kill chef\-server\-webui proceses by port number\. Use chef\-server \-K all to gracefully kill all merbs\.
99
- .
100
- .TP
101
- \fB\-k\fR, \fB\-\-kill PORT\fR
102
- Force kill one merb worker by port number\. This will cause the worker to be respawned\.
103
- .
104
- .TP
105
- \fB\-\-fast\-deploy\fR
106
- Reload the code, but not yourinit\.rb or gems\.
107
- .
108
- .TP
109
- \fB\-X\fR, \fB\-\-mutex on/off\fR
110
- This flag is for turning the mutex lock on and off\.
111
- .
112
- .TP
113
- \fB\-D\fR, \fB\-\-debugger\fR
114
- Run chef\-server\-webui using rDebug\.
115
- .
116
- .TP
117
- \fB\-V\fR, \fB\-\-verbose\fR
118
- Print extra information\.
119
- .
120
- .TP
121
- \fB\-C\fR, \fB\-\-console\-trap\fR
122
- Enter an irb console on ^C\.
123
- .
124
- .TP
125
- \fB\-?\fR, \fB\-H\fR, \fB\-\-help\fR
126
- Show this help message\.
127
- .
128
- .SH "DESCRIPTION"
129
- The Chef Server WebUI (Management Console) is a Merb application slice\. The default listen port is 4040\.
130
- .
131
- .P
132
- The Management Console is Chef Server\'s web interface\. Nodes, roles, cookbooks, data bags, and API clients can be managed through the Management Console\. Search can also be done on the console\.
133
- .
134
- .P
135
- In order to start using the Management Console, you need to first create a user or change the default password on the "admin" user\.
136
- .
137
- .P
138
- The default credentials are:
139
- .
140
- .IP "\(bu" 4
141
- \fBUsername\fR: admin
142
- .
143
- .IP "\(bu" 4
144
- \fBPassword\fR: p@ssw0rd1
145
- .
146
- .IP "" 0
147
- .
148
- .SH "SEE ALSO"
149
- Full documentation for Chef and chef\-server\-webui (Management Console) is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
150
- .
151
- .SH "AUTHOR"
152
- Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was written by Joshua Timberman \fIjoshua@opscode\.com\fR with help2man for the Debian project (but may be used by others)\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
153
- .
154
- .P
155
- On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.
@@ -1,147 +0,0 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "CHEF\-SERVER" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
5
- .
6
- .SH "NAME"
7
- \fBchef\-server\fR \- Start the Chef Server merb application slice\.
8
- .
9
- .SH "SYNOPSIS"
10
- \fBchef\-server\fR \fI(options)\fR
11
- .
12
- .TP
13
- \fB\-u\fR, \fB\-\-user USER\fR
14
- This flag is for having chef\-server\-webui run as a user other than the one currently logged in\. Note: if you set this you must also provide a \-\-group option for it to take effect\.
15
- .
16
- .TP
17
- \fB\-G\fR, \fB\-\-group GROUP\fR
18
- This flag is for having chef\-server\-webui run as a group other than the one currently logged in\. Note: if you set this you must also provide a \-\-user option for it to take effect\.
19
- .
20
- .TP
21
- \fB\-d\fR, \fB\-\-daemonize\fR
22
- This will run a single chef\-server\-webui in the background\.
23
- .
24
- .TP
25
- \fB\-N\fR, \fB\-\-no\-daemonize\fR
26
- This will allow you to run a cluster in console mode\.
27
- .
28
- .TP
29
- \fB\-c\fR, \fB\-\-cluster\-nodes NUM_MERBS\fR
30
- Number of merb daemons to run for chef\-server\-webui\.
31
- .
32
- .TP
33
- \fB\-I\fR, \fB\-\-init\-file FILE\fR
34
- File to use for initialization on load, defaults to config/init\.rb\.
35
- .
36
- .TP
37
- \fB\-p\fR, \fB\-\-port PORTNUM\fR
38
- Port to run chef\-server\-webui on, defaults to 4040\. Additional nodes (\-c) listen on incrementing port numbers\.
39
- .
40
- .TP
41
- \fB\-o\fR, \fB\-\-socket\-file FILE\fR
42
- Socket file to run chef\-server\-webui on, defaults to [Merb\.root]/log/merb\.sock\. This is for web servers, like thin, that use sockets\. Specify this \fIonly\fR if you \fImust\fR\.
43
- .
44
- .TP
45
- \fB\-s\fR, \fB\-\-socket SOCKNUM\fR
46
- Socket number to run chef\-server\-webui on, defaults to 0\.
47
- .
48
- .TP
49
- \fB\-n\fR, \fB\-\-name NAME\fR
50
- Set the name of the application\. This is used in the process title and log file names\.
51
- .
52
- .TP
53
- \fB\-P\fR, \fB\-\-pid PIDFILE\fR
54
- PID file, defaults to [Merb\.root]/log/merb\.main\.pid for the master process and[Merb\.root]/log/merb\.[port number]\.pid for worker processes\. For clusters, use %s to specify where in the file chef\-server\-webui should place the port number\. For instance: \-P myapp\.%s\.pid\.
55
- .
56
- .TP
57
- \fB\-h\fR, \fB\-\-host HOSTNAME\fR
58
- Host to bind to (default is 0\.0\.0\.0)\.
59
- .
60
- .TP
61
- \fB\-m\fR, \fB\-\-merb\-root PATH_TO_APP_ROOT\fR
62
- The path to the Merb\.root for the app you want to run (default is current working directory)\.
63
- .
64
- .TP
65
- \fB\-a\fR, \fB\-\-adapter ADAPTER\fR
66
- The rack adapter to use to run chef\-server\-webui (default is mongrel) [mongrel, emongrel, thin, ebb, fastcgi, webrick]\.
67
- .
68
- .TP
69
- \fB\-R\fR, \fB\-\-rackup FILE\fR
70
- Load an alternate Rack config file (default is config/rack\.rb)\.
71
- .
72
- .TP
73
- \fB\-i\fR, \fB\-\-irb\-console\fR
74
- This flag will start chef\-server\-webui in irb console mode\. All your models and other classes will be available for you in an irb session\.
75
- .
76
- .TP
77
- \fB\-S\fR, \fB\-\-sandbox\fR
78
- This flag will enable a sandboxed irb console\. If your ORM supports transactions, all edits will be rolled back on exit\.
79
- .
80
- .TP
81
- \fB\-l\fR, \fB\-\-log\-level LEVEL\fR
82
- Log levels can be set to any of these options: debug < info < warn < error < fatal (default is info)\.
83
- .
84
- .TP
85
- \fB\-L\fR, \fB\-\-log LOGFILE\fR
86
- A string representing the logfile to use\. Defaults to [Merb\.root]/log/merb\.[main]\.log for the master process and [Merb\.root]/log/merb[port number]\.logfor worker processes\.
87
- .
88
- .TP
89
- \fB\-e\fR, \fB\-\-environment STRING\fR
90
- Environment to run Merb under [development, production, testing] (default is development)\.
91
- .
92
- .TP
93
- \fB\-r\fR, \fB\-\-script\-runner [\'RUBY CODE\'| FULL_SCRIPT_PATH]\fR
94
- Command\-line option to run scripts and/or code in the chef\-server\-webui app\.
95
- .
96
- .TP
97
- \fB\-K\fR, \fB\-graceful PORT or all\fR
98
- Gracefully kill chef\-server\-webui proceses by port number\. Use chef\-server \-K all to gracefully kill all merbs\.
99
- .
100
- .TP
101
- \fB\-k\fR, \fB\-\-kill PORT\fR
102
- Force kill one merb worker by port number\. This will cause the worker to be respawned\.
103
- .
104
- .TP
105
- \fB\-\-fast\-deploy\fR
106
- Reload the code, but not yourinit\.rb or gems\.
107
- .
108
- .TP
109
- \fB\-X\fR, \fB\-\-mutex on/off\fR
110
- This flag is for turning the mutex lock on and off\.
111
- .
112
- .TP
113
- \fB\-D\fR, \fB\-\-debugger\fR
114
- Run chef\-server\-webui using rDebug\.
115
- .
116
- .TP
117
- \fB\-V\fR, \fB\-\-verbose\fR
118
- Print extra information\.
119
- .
120
- .TP
121
- \fB\-C\fR, \fB\-\-console\-trap\fR
122
- Enter an irb console on ^C\.
123
- .
124
- .TP
125
- \fB\-?\fR, \fB\-H\fR, \fB\-\-help\fR
126
- Show this help message\.
127
- .
128
- .SH "DESCRIPTION"
129
- The Chef Server provides a central point for the distribution of Cookbooks, management and authentication of Nodes, and the use of Search\. It provides a REST API\.
130
- .
131
- .P
132
- The API service is what clients use to interact with the server to manage node configuration in Chef\. By default, the service is started on port 4000 as a Merb application slice running with the thin server adapter\.
133
- .
134
- .P
135
- The two methods of interaction with the API for humans are the command\-line tool Knife and the Management Console\. The Chef Client library is used for interacting with the API for client nodes\.
136
- .
137
- .SH "SEE ALSO"
138
- \fBchef\-client\fR(8) \fBchef\-server\-webui\fR(8) \fBknife\fR(1)
139
- .
140
- .P
141
- Full documentation for Chef and chef\-server is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
142
- .
143
- .SH "AUTHOR"
144
- Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was written by Joshua Timberman \fIjoshua@opscode\.com\fR with help2man\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
145
- .
146
- .P
147
- On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.