chef-server 0.8.16 → 0.9.0.a90

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.
@@ -1,125 +1,18 @@
1
- = Chef
1
+ = Chef Server
2
2
 
3
- = DESCRIPTION:
4
-
5
- Chef is a configuration management tool designed to bring automation to your entire infrastructure.
6
-
7
- The Chef Wiki is the definitive source of user documentation.
8
-
9
- * http://wiki.opscode.com/display/chef/Home
10
-
11
- This README focuses on developers who want to modify Chef source code. For users who just want to run the latest and greatest Chef development version in their environment, see:
12
-
13
- * http://wiki.opscode.com/display/chef/Installing+Chef+from+HEAD
14
-
15
- = DEVELOPMENT:
16
-
17
- Before working on the code, if you plan to contribute your changes, you need to read the Opscode Contributing document.
18
-
19
- * http://wiki.opscode.com/display/opscode/Contributing
20
-
21
- You will also need to set up the repository with the appropriate branches. We document the process on the Chef Wiki.
22
-
23
- * http://wiki.opscode.com/display/opscode/Working+with+Git
24
-
25
- Once your repository is set up, you can start working on the code. We do use BDD/TDD with RSpec and Cucumber, so you'll need to get a development environment running.
26
-
27
- = ENVIRONMENT:
28
-
29
- In order to have a development environment where changes to the Chef code can be tested, we'll need to install a few things after setting up the Git repository.
30
-
31
- == Requirements:
32
-
33
- Install these via your platform's preferred method; for example apt, yum, ports, emerge, etc.
34
-
35
- * Git
36
- * CouchDB
37
- * libxml2 development package (for webrat)
38
- * libxslt develoment package (for webrat)
39
-
40
- Install the following RubyGems.
41
-
42
- * ohai
43
- * rake
44
- * rspec
45
- * cucumber
46
- * webrat
47
- * merb-core
48
- * roman-merb_cucumber
49
-
50
- Ohai is also by Opscode and available on GitHub, http://github.com/opscode/ohai/tree/master.
51
-
52
- roman-merb_cucumber is available from GitHub:
53
-
54
- gem install --source http://gems.github.com/ roman-merb_cucumber
55
-
56
- == Starting the Environment:
57
-
58
- Once everything is installed, run the dev:features rake task. Since the features do integration testing, root access is required.
59
-
60
- sudo rake dev:features
61
-
62
- The dev:features task:
63
-
64
- * Installs chef, chef-server, chef-server-slice gems. It will fail if required gems above are missing.
65
- * Starts chef-server on ports 4000 and 4001.
66
- * Starts chef-indexer.
67
- * Starts CouchDB on port 5984.
68
- * Starts the stompserver on port 61613.
69
-
70
- You'll know its running when you see:
71
-
72
- ~ Activating slice 'ChefServerSlice' ...
73
- merb : worker (port 4000) ~ Starting Mongrel at port 4000
74
- merb : worker (port 4000) ~ Successfully bound to port 4000
75
- merb : worker (port 4001) ~ Starting Mongrel at port 4001
76
- merb : worker (port 4001) ~ Successfully bound to port 4001
77
-
78
- You'll want to leave this terminal running the dev environment.
79
-
80
- == Web Interface:
81
-
82
- With the dev environment running, you can now access the web interface via http://localhost:4000/. Supply an OpenID to log in.
83
-
84
- == Spec testing:
85
-
86
- We use RSpec for unit/spec tests.
87
-
88
- rake spec
89
-
90
- This doesn't actually use the development environment, because it does the testing on all the Chef internals. For integration/usage testing, we use Cucumber features.
91
-
92
- == Integration testing:
93
-
94
- We test integration with Cucumber. The available feature tests are rake tasks:
95
-
96
- rake features # Run Features with Cucumber
97
- rake features:api # Run Features with Cucumber
98
- rake features:client # Run Features with Cucumber
99
- rake features:provider:package:macports # Run Features with Cucumber
100
- rake features:provider:remote_file # Run Features with Cucumber
101
- rake features:search # Run Features with Cucumber
102
-
103
- = LINKS:
104
-
105
- Source:
106
-
107
- * http://github.com/opscode/chef/tree/master
108
-
109
- Tickets/Issues:
110
-
111
- * http://tickets.opscode.com/
112
-
113
- Documentation:
114
-
115
- * http://wiki.opscode.com/display/chef/Home/
3
+ == Description
4
+ Chef Server is a meta package. It only exists to depend on the other packages needed to run a chef server, so they may be installed and upgraded more easily:
5
+ * chef-server-api: The primary chef server, clients and the webui interact with it via a JSON REST API.
6
+ * chef-server-webui: Web (HTML and javascript) interface to the chef-server-api
7
+ * chef-solr: A wrapper to the Solr full text indexer
8
+ * chef-solr-indexer: Listens to rabbitmq for updates to indexed data (sent by chef-server-api), and denormalizes data for searchability.
116
9
 
117
10
  = LICENSE:
118
11
 
119
- Chef - A configuration management system
12
+ Chef Server - The server component of the Chef configuration management system
120
13
 
121
14
  Author:: Adam Jacob (<adam@opscode.com>)
122
- Copyright:: Copyright (c) 2008, 2009 Opscode, Inc.
15
+ Copyright:: Copyright (c) 2008, 2009, 2010 Opscode, Inc.
123
16
  License:: Apache License, Version 2.0
124
17
 
125
18
  Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,50 @@
1
+ #
2
+ # Author:: Daniel Deleo (<dan@opscode.com>)
3
+ # Copyright:: Copyright (c) 2010 Opscode, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require File.dirname(__FILE__) + '/lib/chef-server/version'
20
+ require 'rake/gempackagetask'
21
+
22
+ GEM_NAME = "chef-server-api"
23
+ AUTHOR = "Opscode"
24
+ EMAIL = "chef@opscode.com"
25
+ HOMEPAGE = "http://wiki.opscode.com/display/chef"
26
+ SUMMARY = "A meta-gem to install all server components of the Chef configuration management system"
27
+
28
+ spec = Gem::Specification.new do |s|
29
+ s.name = 'chef-server'
30
+ s.version = ChefServer::VERSION
31
+ s.platform = Gem::Platform::RUBY
32
+ s.has_rdoc = true
33
+ s.extra_rdoc_files = ["README.rdoc", "LICENSE" ]
34
+ s.summary = SUMMARY
35
+ s.description = s.summary
36
+ s.author = AUTHOR
37
+ s.email = EMAIL
38
+ s.homepage = HOMEPAGE
39
+
40
+ s.add_dependency "chef-server-api", "= #{ChefServer::VERSION}"
41
+ s.add_dependency "chef-server-webui", "= #{ChefServer::VERSION}"
42
+ s.add_dependency "chef-solr", "= #{ChefServer::VERSION}"
43
+
44
+ s.files = %w(LICENSE README.rdoc Rakefile lib/chef-server.rb lib/chef-server/version.rb)
45
+ s
46
+ end
47
+
48
+ Rake::GemPackageTask.new(spec) do |pkg|
49
+ pkg.gem_spec = spec
50
+ end
@@ -0,0 +1,20 @@
1
+ #
2
+ # Author:: Daniel Deleo (<dan@opscode.com>)
3
+ # Copyright:: Copyright (c) 2010 Opscode, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ module ChefServer
20
+ end
@@ -0,0 +1,21 @@
1
+ #
2
+ # Author:: Daniel Deleo (<dan@opscode.com>)
3
+ # Copyright:: Copyright (c) 2010 Opscode, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ module ChefServer
20
+ VERSION = '0.9.0.a90'
21
+ end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-server
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ prerelease: true
5
5
  segments:
6
6
  - 0
7
- - 8
8
- - 16
9
- version: 0.8.16
7
+ - 9
8
+ - 0
9
+ - a90
10
+ version: 0.9.0.a90
10
11
  platform: ruby
11
12
  authors:
12
13
  - Opscode
@@ -14,132 +15,61 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-05-11 00:00:00 -07:00
18
+ date: 2010-06-08 00:00:00 -07:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
22
+ name: chef-server-api
23
+ prerelease: false
21
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
22
26
  requirements:
23
- - - ~>
27
+ - - "="
24
28
  - !ruby/object:Gem::Version
25
29
  segments:
26
- - 1
27
30
  - 0
31
+ - 9
28
32
  - 0
29
- version: 1.0.0
30
- prerelease: false
33
+ - a90
34
+ version: 0.9.0.a90
31
35
  type: :runtime
32
- name: merb-core
33
36
  version_requirements: *id001
34
37
  - !ruby/object:Gem::Dependency
38
+ name: chef-server-webui
39
+ prerelease: false
35
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
36
42
  requirements:
37
- - - ~>
43
+ - - "="
38
44
  - !ruby/object:Gem::Version
39
45
  segments:
40
- - 1
41
46
  - 0
47
+ - 9
42
48
  - 0
43
- version: 1.0.0
44
- prerelease: false
49
+ - a90
50
+ version: 0.9.0.a90
45
51
  type: :runtime
46
- name: merb-haml
47
52
  version_requirements: *id002
48
53
  - !ruby/object:Gem::Dependency
54
+ name: chef-solr
55
+ prerelease: false
49
56
  requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
50
58
  requirements:
51
- - - ~>
59
+ - - "="
52
60
  - !ruby/object:Gem::Version
53
61
  segments:
54
- - 1
55
62
  - 0
63
+ - 9
56
64
  - 0
57
- version: 1.0.0
58
- prerelease: false
65
+ - a90
66
+ version: 0.9.0.a90
59
67
  type: :runtime
60
- name: merb-assets
61
68
  version_requirements: *id003
62
- - !ruby/object:Gem::Dependency
63
- requirement: &id004 !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- segments:
68
- - 1
69
- - 0
70
- - 0
71
- version: 1.0.0
72
- prerelease: false
73
- type: :runtime
74
- name: merb-helpers
75
- version_requirements: *id004
76
- - !ruby/object:Gem::Dependency
77
- requirement: &id005 !ruby/object:Gem::Requirement
78
- requirements:
79
- - - <=
80
- - !ruby/object:Gem::Version
81
- segments:
82
- - 1
83
- - 4
84
- - 2
85
- version: 1.4.2
86
- prerelease: false
87
- type: :runtime
88
- name: json
89
- version_requirements: *id005
90
- - !ruby/object:Gem::Dependency
91
- requirement: &id006 !ruby/object:Gem::Requirement
92
- requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- segments:
96
- - 0
97
- version: "0"
98
- prerelease: false
99
- type: :runtime
100
- name: thin
101
- version_requirements: *id006
102
- - !ruby/object:Gem::Dependency
103
- requirement: &id007 !ruby/object:Gem::Requirement
104
- requirements:
105
- - - ">="
106
- - !ruby/object:Gem::Version
107
- segments:
108
- - 0
109
- version: "0"
110
- prerelease: false
111
- type: :runtime
112
- name: haml
113
- version_requirements: *id007
114
- - !ruby/object:Gem::Dependency
115
- requirement: &id008 !ruby/object:Gem::Requirement
116
- requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
119
- segments:
120
- - 0
121
- version: "0"
122
- prerelease: false
123
- type: :runtime
124
- name: ruby-openid
125
- version_requirements: *id008
126
- - !ruby/object:Gem::Dependency
127
- requirement: &id009 !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- segments:
132
- - 0
133
- version: "0"
134
- prerelease: false
135
- type: :runtime
136
- name: coderay
137
- version_requirements: *id009
138
- description: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
69
+ description: A meta-gem to install all server components of the Chef configuration management system
139
70
  email: chef@opscode.com
140
- executables:
141
- - chef-server
142
- - chef-server-webui
71
+ executables: []
72
+
143
73
  extensions: []
144
74
 
145
75
  extra_rdoc_files:
@@ -148,37 +78,9 @@ extra_rdoc_files:
148
78
  files:
149
79
  - LICENSE
150
80
  - README.rdoc
151
- - config.ru
152
- - config-webui.ru
153
- - app/controllers/application.rb
154
- - app/helpers/global_helpers.rb
155
- - app/views/exceptions/not_acceptable.html.erb
156
- - app/views/exceptions/not_found.html.erb
157
- - app/views/layout/application.html.erb
158
- - bin/chef-server
159
- - bin/chef-server-webui
160
- - config/dependencies-webui.rb
161
- - config/dependencies.rb
162
- - config/environments/development.rb
163
- - config/environments/production.rb
164
- - config/environments/rake.rb
165
- - config/environments/staging.rb
166
- - config/environments/test.rb
167
- - config/init-webui.rb
168
- - config/init.rb
169
- - config/rack.rb
170
- - config/router.rb
171
- - lib/tasks/install.rake
172
- - lib/tasks/package.rake
173
- - lib/tasks/uninstall.rake
174
- - lib/views/exceptions/bad_request.html.haml
175
- - public/favicon.ico
176
- - public/images/merb.jpg
177
- - public/javascripts/application.js
178
- - public/javascripts/jquery.js
179
- - public/merb.fcgi
180
- - public/robots.txt
181
- - public/stylesheets/master.css
81
+ - Rakefile
82
+ - lib/chef-server.rb
83
+ - lib/chef-server/version.rb
182
84
  has_rdoc: true
183
85
  homepage: http://wiki.opscode.com/display/chef
184
86
  licenses: []
@@ -189,6 +91,7 @@ rdoc_options: []
189
91
  require_paths:
190
92
  - lib
191
93
  required_ruby_version: !ruby/object:Gem::Requirement
94
+ none: false
192
95
  requirements:
193
96
  - - ">="
194
97
  - !ruby/object:Gem::Version
@@ -196,18 +99,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
196
99
  - 0
197
100
  version: "0"
198
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
+ none: false
199
103
  requirements:
200
- - - ">="
104
+ - - ">"
201
105
  - !ruby/object:Gem::Version
202
106
  segments:
203
- - 0
204
- version: "0"
107
+ - 1
108
+ - 3
109
+ - 1
110
+ version: 1.3.1
205
111
  requirements: []
206
112
 
207
113
  rubyforge_project:
208
- rubygems_version: 1.3.6
114
+ rubygems_version: 1.3.7
209
115
  signing_key:
210
116
  specification_version: 3
211
- summary: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
117
+ summary: A meta-gem to install all server components of the Chef configuration management system
212
118
  test_files: []
213
119