chef 0.7.10 → 0.7.12

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of chef might be problematic. Click here for more details.

Files changed (70) hide show
  1. data/distro/debian/etc/init.d/chef-client +175 -0
  2. data/distro/debian/etc/init.d/chef-indexer +175 -0
  3. data/distro/debian/etc/init.d/chef-server +120 -0
  4. data/distro/debian/man/man1/chef-indexer.1 +42 -0
  5. data/distro/debian/man/man1/chef-server.1 +108 -0
  6. data/distro/debian/man/man8/chef-client.8 +61 -0
  7. data/distro/debian/man/man8/chef-solo.8 +58 -0
  8. data/distro/redhat/etc/chef/client.rb +16 -0
  9. data/distro/redhat/etc/chef/indexer.rb +10 -0
  10. data/distro/redhat/etc/chef/server.rb +22 -0
  11. data/distro/redhat/etc/init.d/chef-client +74 -0
  12. data/distro/redhat/etc/init.d/chef-indexer +76 -0
  13. data/distro/redhat/etc/init.d/chef-server +77 -0
  14. data/lib/chef.rb +1 -1
  15. data/lib/chef/client.rb +33 -8
  16. data/lib/chef/compile.rb +34 -2
  17. data/lib/chef/cookbook.rb +29 -2
  18. data/lib/chef/cookbook_loader.rb +61 -49
  19. data/lib/chef/couchdb.rb +7 -3
  20. data/lib/chef/mixin/command.rb +67 -32
  21. data/lib/chef/mixin/convert_to_class_name.rb +48 -0
  22. data/lib/chef/mixin/find_preferred_file.rb +5 -14
  23. data/lib/chef/mixin/from_file.rb +14 -0
  24. data/lib/chef/mixin/generate_url.rb +2 -1
  25. data/lib/chef/mixin/recipe_definition_dsl_core.rb +77 -0
  26. data/lib/chef/platform.rb +1 -1
  27. data/lib/chef/provider.rb +63 -2
  28. data/lib/chef/provider/cron.rb +75 -25
  29. data/lib/chef/provider/deploy.rb +281 -0
  30. data/lib/chef/provider/deploy/revision.rb +70 -0
  31. data/lib/chef/provider/deploy/timestamped.rb +33 -0
  32. data/lib/chef/provider/git.rb +194 -0
  33. data/lib/chef/provider/group.rb +2 -2
  34. data/lib/chef/provider/group/gpasswd.rb +50 -0
  35. data/lib/chef/provider/group/groupadd.rb +2 -16
  36. data/lib/chef/provider/group/usermod.rb +57 -0
  37. data/lib/chef/provider/ifconfig.rb +3 -3
  38. data/lib/chef/provider/mount.rb +0 -4
  39. data/lib/chef/provider/mount/mount.rb +2 -2
  40. data/lib/chef/provider/package.rb +2 -2
  41. data/lib/chef/provider/package/apt.rb +4 -4
  42. data/lib/chef/provider/package/dpkg.rb +9 -13
  43. data/lib/chef/provider/package/freebsd.rb +6 -6
  44. data/lib/chef/provider/package/macports.rb +4 -4
  45. data/lib/chef/provider/package/portage.rb +3 -3
  46. data/lib/chef/provider/package/rpm.rb +4 -4
  47. data/lib/chef/provider/package/rubygems.rb +10 -4
  48. data/lib/chef/provider/package/yum.rb +6 -6
  49. data/lib/chef/provider/remote_file.rb +14 -7
  50. data/lib/chef/provider/service.rb +8 -2
  51. data/lib/chef/provider/service/freebsd.rb +1 -1
  52. data/lib/chef/provider/service/init.rb +8 -63
  53. data/lib/chef/provider/service/redhat.rb +2 -2
  54. data/lib/chef/provider/service/simple.rb +115 -0
  55. data/lib/chef/provider/subversion.rb +145 -0
  56. data/lib/chef/provider/template.rb +2 -0
  57. data/lib/chef/provider/user.rb +2 -2
  58. data/lib/chef/recipe.rb +9 -75
  59. data/lib/chef/resource.rb +131 -7
  60. data/lib/chef/resource/cron.rb +36 -0
  61. data/lib/chef/resource/deploy.rb +360 -0
  62. data/lib/chef/resource/deploy_revision.rb +35 -0
  63. data/lib/chef/resource/git.rb +36 -0
  64. data/lib/chef/resource/group.rb +2 -0
  65. data/lib/chef/resource/scm.rb +129 -0
  66. data/lib/chef/resource/subversion.rb +33 -0
  67. data/lib/chef/resource/timestamped_deploy.rb +31 -0
  68. data/lib/chef/resource_collection.rb +32 -4
  69. data/lib/chef/runner.rb +35 -28
  70. metadata +40 -11
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.10
4
+ version: 0.7.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-16 00:00:00 +12:00
12
+ date: 2009-10-21 00:00:00 +13:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -23,17 +23,17 @@ dependencies:
23
23
  version: 1.0.12
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
- name: mixlib-cli
26
+ name: ohai
27
27
  type: :runtime
28
28
  version_requirement:
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: "0"
33
+ version: 0.3.4
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
- name: mixlib-log
36
+ name: mixlib-cli
37
37
  type: :runtime
38
38
  version_requirement:
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: "0"
44
44
  version:
45
45
  - !ruby/object:Gem::Dependency
46
- name: ruby-openid
46
+ name: mixlib-log
47
47
  type: :runtime
48
48
  version_requirement:
49
49
  version_requirements: !ruby/object:Gem::Requirement
@@ -53,7 +53,7 @@ dependencies:
53
53
  version: "0"
54
54
  version:
55
55
  - !ruby/object:Gem::Dependency
56
- name: json
56
+ name: ruby-openid
57
57
  type: :runtime
58
58
  version_requirement:
59
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -63,7 +63,7 @@ dependencies:
63
63
  version: "0"
64
64
  version:
65
65
  - !ruby/object:Gem::Dependency
66
- name: erubis
66
+ name: json
67
67
  type: :runtime
68
68
  version_requirement:
69
69
  version_requirements: !ruby/object:Gem::Requirement
@@ -73,7 +73,7 @@ dependencies:
73
73
  version: "0"
74
74
  version:
75
75
  - !ruby/object:Gem::Dependency
76
- name: extlib
76
+ name: erubis
77
77
  type: :runtime
78
78
  version_requirement:
79
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -83,7 +83,7 @@ dependencies:
83
83
  version: "0"
84
84
  version:
85
85
  - !ruby/object:Gem::Dependency
86
- name: stomp
86
+ name: extlib
87
87
  type: :runtime
88
88
  version_requirement:
89
89
  version_requirements: !ruby/object:Gem::Requirement
@@ -93,7 +93,7 @@ dependencies:
93
93
  version: "0"
94
94
  version:
95
95
  - !ruby/object:Gem::Dependency
96
- name: ohai
96
+ name: stomp
97
97
  type: :runtime
98
98
  version_requirement:
99
99
  version_requirements: !ruby/object:Gem::Requirement
@@ -115,6 +115,19 @@ extra_rdoc_files:
115
115
  files:
116
116
  - LICENSE
117
117
  - README.rdoc
118
+ - distro/debian/etc/init.d/chef-client
119
+ - distro/debian/etc/init.d/chef-indexer
120
+ - distro/debian/etc/init.d/chef-server
121
+ - distro/debian/man/man1/chef-indexer.1
122
+ - distro/debian/man/man1/chef-server.1
123
+ - distro/debian/man/man8/chef-client.8
124
+ - distro/debian/man/man8/chef-solo.8
125
+ - distro/redhat/etc/chef/client.rb
126
+ - distro/redhat/etc/chef/indexer.rb
127
+ - distro/redhat/etc/chef/server.rb
128
+ - distro/redhat/etc/init.d/chef-client
129
+ - distro/redhat/etc/init.d/chef-indexer
130
+ - distro/redhat/etc/init.d/chef-server
118
131
  - lib/chef/application/agent.rb
119
132
  - lib/chef/application/client.rb
120
133
  - lib/chef/application/indexer.rb
@@ -136,6 +149,7 @@ files:
136
149
  - lib/chef/mixin/check_helper.rb
137
150
  - lib/chef/mixin/checksum.rb
138
151
  - lib/chef/mixin/command.rb
152
+ - lib/chef/mixin/convert_to_class_name.rb
139
153
  - lib/chef/mixin/create_path.rb
140
154
  - lib/chef/mixin/deep_merge.rb
141
155
  - lib/chef/mixin/find_preferred_file.rb
@@ -143,17 +157,24 @@ files:
143
157
  - lib/chef/mixin/generate_url.rb
144
158
  - lib/chef/mixin/language.rb
145
159
  - lib/chef/mixin/params_validate.rb
160
+ - lib/chef/mixin/recipe_definition_dsl_core.rb
146
161
  - lib/chef/mixin/template.rb
147
162
  - lib/chef/node/attribute.rb
148
163
  - lib/chef/node.rb
149
164
  - lib/chef/openid_registration.rb
150
165
  - lib/chef/platform.rb
151
166
  - lib/chef/provider/cron.rb
167
+ - lib/chef/provider/deploy/revision.rb
168
+ - lib/chef/provider/deploy/timestamped.rb
169
+ - lib/chef/provider/deploy.rb
152
170
  - lib/chef/provider/directory.rb
153
171
  - lib/chef/provider/execute.rb
154
172
  - lib/chef/provider/file.rb
173
+ - lib/chef/provider/git.rb
174
+ - lib/chef/provider/group/gpasswd.rb
155
175
  - lib/chef/provider/group/groupadd.rb
156
176
  - lib/chef/provider/group/pw.rb
177
+ - lib/chef/provider/group/usermod.rb
157
178
  - lib/chef/provider/group.rb
158
179
  - lib/chef/provider/http_request.rb
159
180
  - lib/chef/provider/ifconfig.rb
@@ -180,7 +201,9 @@ files:
180
201
  - lib/chef/provider/service/gentoo.rb
181
202
  - lib/chef/provider/service/init.rb
182
203
  - lib/chef/provider/service/redhat.rb
204
+ - lib/chef/provider/service/simple.rb
183
205
  - lib/chef/provider/service.rb
206
+ - lib/chef/provider/subversion.rb
184
207
  - lib/chef/provider/template.rb
185
208
  - lib/chef/provider/user/pw.rb
186
209
  - lib/chef/provider/user/useradd.rb
@@ -192,11 +215,14 @@ files:
192
215
  - lib/chef/resource/bash.rb
193
216
  - lib/chef/resource/cron.rb
194
217
  - lib/chef/resource/csh.rb
218
+ - lib/chef/resource/deploy.rb
219
+ - lib/chef/resource/deploy_revision.rb
195
220
  - lib/chef/resource/directory.rb
196
221
  - lib/chef/resource/dpkg_package.rb
197
222
  - lib/chef/resource/execute.rb
198
223
  - lib/chef/resource/file.rb
199
224
  - lib/chef/resource/gem_package.rb
225
+ - lib/chef/resource/git.rb
200
226
  - lib/chef/resource/group.rb
201
227
  - lib/chef/resource/http_request.rb
202
228
  - lib/chef/resource/ifconfig.rb
@@ -212,9 +238,12 @@ files:
212
238
  - lib/chef/resource/route.rb
213
239
  - lib/chef/resource/ruby.rb
214
240
  - lib/chef/resource/ruby_block.rb
241
+ - lib/chef/resource/scm.rb
215
242
  - lib/chef/resource/script.rb
216
243
  - lib/chef/resource/service.rb
244
+ - lib/chef/resource/subversion.rb
217
245
  - lib/chef/resource/template.rb
246
+ - lib/chef/resource/timestamped_deploy.rb
218
247
  - lib/chef/resource/user.rb
219
248
  - lib/chef/resource.rb
220
249
  - lib/chef/resource_collection.rb