foodcritic 4.0.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +47 -0
  3. data/README.md +7 -7
  4. data/bin/foodcritic +1 -1
  5. data/chef_dsl_metadata/chef_11.0.0.json +4 -0
  6. data/chef_dsl_metadata/chef_11.10.0.json +176 -1
  7. data/chef_dsl_metadata/chef_11.10.2.json +176 -1
  8. data/chef_dsl_metadata/chef_11.10.4.json +176 -1
  9. data/chef_dsl_metadata/chef_11.12.0.json +10861 -0
  10. data/chef_dsl_metadata/chef_11.12.2.json +10861 -0
  11. data/chef_dsl_metadata/chef_11.12.4.json +10800 -0
  12. data/chef_dsl_metadata/chef_11.12.8.json +10800 -0
  13. data/chef_dsl_metadata/chef_11.14.2.json +11172 -0
  14. data/chef_dsl_metadata/chef_11.14.6.json +11178 -0
  15. data/chef_dsl_metadata/chef_11.16.0.json +11236 -0
  16. data/chef_dsl_metadata/chef_11.16.2.json +11236 -0
  17. data/chef_dsl_metadata/chef_11.16.4.json +11236 -0
  18. data/chef_dsl_metadata/chef_11.18.0.json +11291 -0
  19. data/chef_dsl_metadata/chef_11.18.12.json +11291 -0
  20. data/chef_dsl_metadata/chef_11.18.6.json +11291 -0
  21. data/chef_dsl_metadata/chef_11.2.0.json +4 -0
  22. data/chef_dsl_metadata/chef_11.4.0.json +4 -0
  23. data/chef_dsl_metadata/chef_11.4.2.json +4 -0
  24. data/chef_dsl_metadata/chef_11.4.4.json +4 -0
  25. data/chef_dsl_metadata/chef_11.6.0.json +4 -0
  26. data/chef_dsl_metadata/chef_11.6.2.json +4 -0
  27. data/chef_dsl_metadata/chef_11.8.0.json +4 -0
  28. data/chef_dsl_metadata/chef_11.8.2.json +4 -0
  29. data/chef_dsl_metadata/chef_12.0.0.json +11855 -0
  30. data/chef_dsl_metadata/chef_12.0.1.json +11865 -0
  31. data/chef_dsl_metadata/chef_12.0.3.json +12054 -0
  32. data/chef_dsl_metadata/chef_12.1.0.json +12468 -0
  33. data/chef_dsl_metadata/chef_12.1.1.json +12468 -0
  34. data/chef_dsl_metadata/chef_12.1.2.json +12468 -0
  35. data/chef_dsl_metadata/chef_12.2.1.json +12645 -0
  36. data/chef_dsl_metadata/chef_12.3.0.json +12839 -0
  37. data/chef_dsl_metadata/chef_12.4.0.json +14625 -0
  38. data/chef_dsl_metadata/chef_12.4.1.json +14625 -0
  39. data/features/002_check_string_interpolation.feature +5 -0
  40. data/features/041_check_raw_download.feature +17 -9
  41. data/features/044_check_for_bare_attribute_keys.feature +10 -0
  42. data/features/048_check_for_shellout.feature +6 -1
  43. data/features/052_check_for_metadata_using_suggests_keyword.feature +15 -0
  44. data/features/053_check_for_metadata_using_recommends_keyword.feature +15 -0
  45. data/features/step_definitions/cookbook_steps.rb +66 -4
  46. data/features/support/command_helpers.rb +8 -2
  47. data/features/support/env.rb +7 -3
  48. data/lib/foodcritic/api.rb +5 -4
  49. data/lib/foodcritic/chef.rb +3 -7
  50. data/lib/foodcritic/command_line.rb +15 -0
  51. data/lib/foodcritic/domain.rb +14 -0
  52. data/lib/foodcritic/linter.rb +44 -4
  53. data/lib/foodcritic/rake_task.rb +15 -11
  54. data/lib/foodcritic/rules.rb +38 -6
  55. data/lib/foodcritic/version.rb +1 -1
  56. data/man/foodcritic.1 +8 -1
  57. data/man/foodcritic.1.ronn +7 -0
  58. data/misc/lucene.treetop +150 -0
  59. data/spec/foodcritic/command_line_spec.rb +10 -0
  60. data/spec/foodcritic/domain_spec.rb +19 -0
  61. data/spec/foodcritic/linter_spec.rb +13 -1
  62. data/spec/regression/cookbooks.txt +0 -60
  63. data/spec/regression/expected-output.txt +5 -445
  64. data/spec/regression_helpers.rb +5 -5
  65. data/spec/spec_helper.rb +7 -3
  66. metadata +38 -7
@@ -1,12 +1,6 @@
1
- FC001: Use strings in preference to symbols to access node attributes: ./ant/providers/library.rb:27
2
- FC001: Use strings in preference to symbols to access node attributes: ./ant/providers/library.rb:39
3
1
  FC001: Use strings in preference to symbols to access node attributes: ./apparmor/attributes/apparmor.rb:1
4
2
  FC001: Use strings in preference to symbols to access node attributes: ./apparmor/recipes/default.rb:21
5
3
  FC001: Use strings in preference to symbols to access node attributes: ./apparmor/recipes/default.rb:23
6
- FC001: Use strings in preference to symbols to access node attributes: ./application_php/templates/default/php.conf.erb:28
7
- FC001: Use strings in preference to symbols to access node attributes: ./application_php/templates/default/php.conf.erb:29
8
- FC001: Use strings in preference to symbols to access node attributes: ./application_php/templates/default/php.conf.erb:32
9
- FC001: Use strings in preference to symbols to access node attributes: ./application_ruby/templates/default/sv-unicorn-run.erb:6
10
4
  FC001: Use strings in preference to symbols to access node attributes: ./chef-server/libraries/omnitruck_client.rb:76
11
5
  FC001: Use strings in preference to symbols to access node attributes: ./chef-server/libraries/omnitruck_client.rb:77
12
6
  FC001: Use strings in preference to symbols to access node attributes: ./chef-server/libraries/omnitruck_client.rb:78
@@ -86,18 +80,6 @@ FC001: Use strings in preference to symbols to access node attributes: ./gems/re
86
80
  FC001: Use strings in preference to symbols to access node attributes: ./gems/templates/default/gem_server.conf.erb:6
87
81
  FC001: Use strings in preference to symbols to access node attributes: ./gems/templates/default/gem_server.conf.erb:29
88
82
  FC001: Use strings in preference to symbols to access node attributes: ./gems/templates/default/gem_server.conf.erb:35
89
- FC001: Use strings in preference to symbols to access node attributes: ./getting-started/attributes/default.rb:1
90
- FC001: Use strings in preference to symbols to access node attributes: ./getting-started/templates/default/chef-getting-started.txt.erb:3
91
- FC001: Use strings in preference to symbols to access node attributes: ./getting-started/templates/default/chef-getting-started.txt.erb:4
92
- FC001: Use strings in preference to symbols to access node attributes: ./getting-started/templates/default/chef-getting-started.txt.erb:5
93
- FC001: Use strings in preference to symbols to access node attributes: ./god/definitions/god_monitor.rb:32
94
- FC001: Use strings in preference to symbols to access node attributes: ./god/templates/default/master.god.erb:2
95
- FC001: Use strings in preference to symbols to access node attributes: ./god/templates/default/master.god.erb:7
96
- FC001: Use strings in preference to symbols to access node attributes: ./god/templates/default/master.god.erb:13
97
- FC001: Use strings in preference to symbols to access node attributes: ./god/templates/default/master.god.erb:18
98
- FC001: Use strings in preference to symbols to access node attributes: ./hadoop/templates/default/cloudera.list.erb:1
99
- FC001: Use strings in preference to symbols to access node attributes: ./hadoop/templates/default/cloudera.list.erb:2
100
- FC001: Use strings in preference to symbols to access node attributes: ./imagemagick/recipes/default.rb:20
101
83
  FC001: Use strings in preference to symbols to access node attributes: ./iptables/recipes/default.rb:37
102
84
  FC001: Use strings in preference to symbols to access node attributes: ./jpackage/attributes/default.rb:20
103
85
  FC001: Use strings in preference to symbols to access node attributes: ./jpackage/recipes/default.rb:22
@@ -112,7 +94,6 @@ FC001: Use strings in preference to symbols to access node attributes: ./kicksta
112
94
  FC001: Use strings in preference to symbols to access node attributes: ./kickstart/templates/default/ks.cfg.erb:6
113
95
  FC001: Use strings in preference to symbols to access node attributes: ./kickstart/templates/default/ks.cfg.erb:9
114
96
  FC001: Use strings in preference to symbols to access node attributes: ./kickstart/templates/default/ks.cfg.erb:10
115
- FC001: Use strings in preference to symbols to access node attributes: ./man/recipes/default.rb:20
116
97
  FC001: Use strings in preference to symbols to access node attributes: ./maradns/attributes/default.rb:17
117
98
  FC001: Use strings in preference to symbols to access node attributes: ./maradns/recipes/default.rb:46
118
99
  FC001: Use strings in preference to symbols to access node attributes: ./maradns/recipes/default.rb:47
@@ -140,32 +121,6 @@ FC001: Use strings in preference to symbols to access node attributes: ./memcach
140
121
  FC001: Use strings in preference to symbols to access node attributes: ./memcached/recipes/default.rb:65
141
122
  FC001: Use strings in preference to symbols to access node attributes: ./memcached/recipes/default.rb:66
142
123
  FC001: Use strings in preference to symbols to access node attributes: ./memcached/recipes/default.rb:72
143
- FC001: Use strings in preference to symbols to access node attributes: ./munin/attributes/default.rb:27
144
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/client.rb:36
145
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:20
146
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:24
147
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:25
148
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:28
149
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:29
150
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:46
151
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:49
152
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:51
153
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:54
154
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:57
155
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server.rb:64
156
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_apache.rb:10
157
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_apache.rb:13
158
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_apache.rb:15
159
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_apache.rb:18
160
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_apache.rb:21
161
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_apache.rb:25
162
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_nginx.rb:14
163
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_nginx.rb:16
164
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_nginx.rb:19
165
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_nginx.rb:21
166
- FC001: Use strings in preference to symbols to access node attributes: ./munin/recipes/server_nginx.rb:24
167
- FC001: Use strings in preference to symbols to access node attributes: ./munin/templates/default/munin-node.conf.erb:30
168
- FC001: Use strings in preference to symbols to access node attributes: ./munin/templates/default/munin-node.conf.erb:31
169
124
  FC001: Use strings in preference to symbols to access node attributes: ./passenger_apache2/attributes/default.rb:1
170
125
  FC001: Use strings in preference to symbols to access node attributes: ./passenger_apache2/attributes/default.rb:2
171
126
  FC001: Use strings in preference to symbols to access node attributes: ./passenger_apache2/attributes/default.rb:3
@@ -187,69 +142,10 @@ FC001: Use strings in preference to symbols to access node attributes: ./passeng
187
142
  FC001: Use strings in preference to symbols to access node attributes: ./passenger_apache2/templates/default/web_app.conf.erb:17
188
143
  FC001: Use strings in preference to symbols to access node attributes: ./passenger_apache2/templates/default/web_app.conf.erb:18
189
144
  FC001: Use strings in preference to symbols to access node attributes: ./passenger_apache2/templates/default/web_app.conf.erb:21
190
- FC001: Use strings in preference to symbols to access node attributes: ./pdns/recipes/recursor.rb:36
191
145
  FC001: Use strings in preference to symbols to access node attributes: ./perl/definitions/cpan_module.rb:27
192
146
  FC001: Use strings in preference to symbols to access node attributes: ./perl/recipes/default.rb:26
193
- FC001: Use strings in preference to symbols to access node attributes: ./rabbitmq/attributes/default.rb:44
194
- FC001: Use strings in preference to symbols to access node attributes: ./radiant/libraries/radiant.rb:4
195
- FC001: Use strings in preference to symbols to access node attributes: ./radiant/recipes/db_bootstrap.rb:36
196
- FC001: Use strings in preference to symbols to access node attributes: ./radiant/recipes/db_bootstrap.rb:37
197
- FC001: Use strings in preference to symbols to access node attributes: ./radiant/recipes/db_bootstrap.rb:45
198
- FC001: Use strings in preference to symbols to access node attributes: ./radiant/recipes/default.rb:60
199
- FC001: Use strings in preference to symbols to access node attributes: ./radiant/recipes/default.rb:61
200
- FC001: Use strings in preference to symbols to access node attributes: ./radiant/templates/default/radiant.conf.erb:17
201
- FC001: Use strings in preference to symbols to access node attributes: ./radiant/templates/default/radiant.conf.erb:18
202
- FC001: Use strings in preference to symbols to access node attributes: ./reprepro/recipes/default.rb:80
203
- FC001: Use strings in preference to symbols to access node attributes: ./reprepro/recipes/default.rb:83
204
- FC001: Use strings in preference to symbols to access node attributes: ./reprepro/recipes/default.rb:93
205
- FC001: Use strings in preference to symbols to access node attributes: ./reprepro/templates/default/apt_repo.conf.erb:2
206
- FC001: Use strings in preference to symbols to access node attributes: ./reprepro/templates/default/apt_repo.conf.erb:3
207
- FC001: Use strings in preference to symbols to access node attributes: ./reprepro/templates/default/apt_repo.conf.erb:4
208
- FC001: Use strings in preference to symbols to access node attributes: ./reprepro/templates/default/distributions.erb:2
209
- FC001: Use strings in preference to symbols to access node attributes: ./reprepro/templates/default/distributions.erb:7
210
- FC001: Use strings in preference to symbols to access node attributes: ./reprepro/templates/default/distributions.erb:8
211
147
  FC001: Use strings in preference to symbols to access node attributes: ./rsyslog/recipes/client.rb:26
212
- FC001: Use strings in preference to symbols to access node attributes: ./runit/attributes/default.rb:22
213
- FC001: Use strings in preference to symbols to access node attributes: ./runit/attributes/default.rb:23
214
- FC001: Use strings in preference to symbols to access node attributes: ./runit/attributes/default.rb:24
215
- FC001: Use strings in preference to symbols to access node attributes: ./runit/attributes/default.rb:25
216
- FC001: Use strings in preference to symbols to access node attributes: ./runit/attributes/default.rb:27
217
- FC001: Use strings in preference to symbols to access node attributes: ./runit/attributes/default.rb:28
218
- FC001: Use strings in preference to symbols to access node attributes: ./runit/attributes/default.rb:29
219
- FC001: Use strings in preference to symbols to access node attributes: ./runit/attributes/default.rb:30
220
- FC001: Use strings in preference to symbols to access node attributes: ./runit/definitions/runit_service.rb:24
221
- FC001: Use strings in preference to symbols to access node attributes: ./runit/definitions/runit_service.rb:25
222
- FC001: Use strings in preference to symbols to access node attributes: ./runit/definitions/runit_service.rb:142
223
- FC001: Use strings in preference to symbols to access node attributes: ./runit/definitions/runit_service.rb:144
224
- FC001: Use strings in preference to symbols to access node attributes: ./runit/definitions/runit_service.rb:158
225
- FC001: Use strings in preference to symbols to access node attributes: ./runit/definitions/runit_service.rb:173
226
- FC001: Use strings in preference to symbols to access node attributes: ./runit/definitions/runit_service.rb:175
227
- FC001: Use strings in preference to symbols to access node attributes: ./runit/recipes/default.rb:20
228
- FC001: Use strings in preference to symbols to access node attributes: ./runit/recipes/default.rb:64
229
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/attributes/default.rb:20
230
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/attributes/default.rb:21
231
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/attributes/default.rb:22
232
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/attributes/default.rb:23
233
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/attributes/default.rb:24
234
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/attributes/default.rb:25
235
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/definitions/sbuild_lv.rb:26
236
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/definitions/sbuild_lv.rb:31
237
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/definitions/sbuild_lv.rb:32
238
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/recipes/default.rb:41
239
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/templates/default/sbuildrc.erb:5
240
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/templates/default/sbuildrc.erb:7
241
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/templates/default/sbuildrc.erb:8
242
- FC001: Use strings in preference to symbols to access node attributes: ./sbuild/templates/default/sbuildrc.erb:10
243
148
  FC001: Use strings in preference to symbols to access node attributes: ./stompserver/templates/default/sv-stompserver-run.erb:2
244
- FC001: Use strings in preference to symbols to access node attributes: ./trac/recipes/default.rb:53
245
- FC001: Use strings in preference to symbols to access node attributes: ./ucspi-tcp/attributes/default.rb:23
246
- FC001: Use strings in preference to symbols to access node attributes: ./ucspi-tcp/attributes/default.rb:25
247
- FC001: Use strings in preference to symbols to access node attributes: ./ucspi-tcp/attributes/default.rb:29
248
- FC001: Use strings in preference to symbols to access node attributes: ./ucspi-tcp/attributes/default.rb:31
249
- FC001: Use strings in preference to symbols to access node attributes: ./ucspi-tcp/attributes/default.rb:34
250
- FC001: Use strings in preference to symbols to access node attributes: ./ucspi-tcp/attributes/default.rb:36
251
- FC001: Use strings in preference to symbols to access node attributes: ./ucspi-tcp/recipes/default.rb:55
252
- FC001: Use strings in preference to symbols to access node attributes: ./ucspi-tcp/recipes/default.rb:58
253
149
  FC001: Use strings in preference to symbols to access node attributes: ./ufw/attributes/default.rb:1
254
150
  FC001: Use strings in preference to symbols to access node attributes: ./ufw/attributes/default.rb:2
255
151
  FC001: Use strings in preference to symbols to access node attributes: ./vim/attributes/default.rb:20
@@ -258,135 +154,35 @@ FC001: Use strings in preference to symbols to access node attributes: ./whiteli
258
154
  FC001: Use strings in preference to symbols to access node attributes: ./windows/providers/reboot.rb:22
259
155
  FC001: Use strings in preference to symbols to access node attributes: ./windows/providers/reboot.rb:23
260
156
  FC001: Use strings in preference to symbols to access node attributes: ./windows/providers/reboot.rb:24
261
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:24
262
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:26
263
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:27
264
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:28
265
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:29
266
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:30
267
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:31
268
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:32
269
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:35
270
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:37
271
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:41
272
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/attributes/default.rb:49
273
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenbatchload.rb:105
274
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenbatchload.rb:106
275
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenbatchload.rb:107
276
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenbatchload.rb:109
277
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zendmd.rb:19
278
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zendmd.rb:20
279
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zendmd.rb:21
280
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zendmd.rb:23
281
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpack.rb:40
282
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpack.rb:41
283
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpack.rb:42
284
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpack.rb:44
285
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpack.rb:57
286
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpack.rb:58
287
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpack.rb:59
288
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpack.rb:61
289
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpack.rb:72
290
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpatch.rb:4
291
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpatch.rb:9
292
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/providers/zenpatch.rb:11
293
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/recipes/server.rb:22
294
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/recipes/server.rb:123
295
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/recipes/server.rb:173
296
- FC001: Use strings in preference to symbols to access node attributes: ./zenoss/recipes/server.rb:177
297
- FC002: Avoid string interpolation where not required: ./ant/resources/library.rb:29
298
- FC002: Avoid string interpolation where not required: ./application_php/templates/default/php.conf.erb:3
299
- FC002: Avoid string interpolation where not required: ./application_python/providers/gunicorn.rb:80
300
- FC002: Avoid string interpolation where not required: ./ark/libraries/provider_ark.rb:247
301
- FC002: Avoid string interpolation where not required: ./ark/libraries/provider_ark.rb:249
302
- FC002: Avoid string interpolation where not required: ./ark/libraries/provider_ark.rb:263
303
157
  FC002: Avoid string interpolation where not required: ./chef-client/recipes/cron.rb:103
304
158
  FC002: Avoid string interpolation where not required: ./dynect/recipes/ec2.rb:70
305
159
  FC002: Avoid string interpolation where not required: ./gems/recipes/mirror.rb:23
306
160
  FC002: Avoid string interpolation where not required: ./gems/recipes/server.rb:44
307
161
  FC002: Avoid string interpolation where not required: ./iis/providers/site.rb:36
308
- FC002: Avoid string interpolation where not required: ./java/providers/ark.rb:172
309
162
  FC002: Avoid string interpolation where not required: ./mysql/attributes/server.rb:205
310
163
  FC002: Avoid string interpolation where not required: ./mysql/attributes/server.rb:206
311
164
  FC002: Avoid string interpolation where not required: ./mysql/attributes/server.rb:207
312
165
  FC002: Avoid string interpolation where not required: ./mysql/attributes/server.rb:208
313
- FC002: Avoid string interpolation where not required: ./nagios/recipes/apache.rb:25
314
- FC002: Avoid string interpolation where not required: ./nagios/recipes/server.rb:48
315
- FC002: Avoid string interpolation where not required: ./nagios/recipes/server.rb:180
316
- FC002: Avoid string interpolation where not required: ./pacman/providers/aur.rb:29
317
- FC002: Avoid string interpolation where not required: ./pacman/providers/aur.rb:31
318
- FC002: Avoid string interpolation where not required: ./pacman/providers/aur.rb:72
319
- FC002: Avoid string interpolation where not required: ./pacman/providers/aur.rb:90
320
166
  FC002: Avoid string interpolation where not required: ./passenger_apache2/templates/default/passenger_web_app.conf.erb:3
321
167
  FC002: Avoid string interpolation where not required: ./passenger_apache2/templates/default/web_app.conf.erb:3
322
168
  FC002: Avoid string interpolation where not required: ./perl/recipes/default.rb:37
323
169
  FC002: Avoid string interpolation where not required: ./perl/recipes/default.rb:43
324
- FC002: Avoid string interpolation where not required: ./pxe_dust/recipes/bootstrap_template.rb:89
325
- FC002: Avoid string interpolation where not required: ./pxe_dust/recipes/installers.rb:57
326
- FC002: Avoid string interpolation where not required: ./pxe_dust/recipes/installers.rb:60
327
- FC002: Avoid string interpolation where not required: ./pxe_dust/recipes/installers.rb:64
328
- FC002: Avoid string interpolation where not required: ./python/providers/pip.rb:158
329
- FC002: Avoid string interpolation where not required: ./python/providers/pip.rb:159
330
- FC002: Avoid string interpolation where not required: ./python/providers/virtualenv.rb:63
331
- FC002: Avoid string interpolation where not required: ./python/providers/virtualenv.rb:64
332
- FC002: Avoid string interpolation where not required: ./radiant/recipes/default.rb:57
333
- FC002: Avoid string interpolation where not required: ./radiant/recipes/default.rb:61
334
- FC002: Avoid string interpolation where not required: ./radiant/templates/default/radiant.conf.erb:3
335
170
  FC002: Avoid string interpolation where not required: ./rsyslog/recipes/default.rb:24
336
171
  FC002: Avoid string interpolation where not required: ./rsyslog/recipes/default.rb:63
337
- FC002: Avoid string interpolation where not required: ./sbuild/definitions/sbuild_lv.rb:30
338
172
  FC002: Avoid string interpolation where not required: ./windows/libraries/registry_helper.rb:99
339
173
  FC002: Avoid string interpolation where not required: ./windows/libraries/registry_helper.rb:173
340
174
  FC002: Avoid string interpolation where not required: ./windows/libraries/windows_privileged.rb:42
341
175
  FC002: Avoid string interpolation where not required: ./windows/libraries/windows_privileged.rb:56
342
- FC002: Avoid string interpolation where not required: ./wordpress/recipes/default.rb:66
343
- FC002: Avoid string interpolation where not required: ./wordpress/recipes/default.rb:148
344
- FC002: Avoid string interpolation where not required: ./wordpress/templates/default/wordpress.conf.erb:3
345
- FC002: Avoid string interpolation where not required: ./zenoss/providers/zendmd.rb:4
346
- FC002: Avoid string interpolation where not required: ./zenoss/recipes/server.rb:164
347
- FC003: Check whether you are running with chef server before using server-specific features: ./application/libraries/default.rb:97
348
- FC003: Check whether you are running with chef server before using server-specific features: ./application_ruby/providers/memcached.rb:28
349
176
  FC003: Check whether you are running with chef server before using server-specific features: ./database/recipes/ebs_backup.rb:33
350
177
  FC003: Check whether you are running with chef server before using server-specific features: ./database/recipes/ebs_volume.rb:49
351
178
  FC003: Check whether you are running with chef server before using server-specific features: ./database/recipes/master.rb:30
352
179
  FC003: Check whether you are running with chef server before using server-specific features: ./database/recipes/master.rb:57
353
180
  FC003: Check whether you are running with chef server before using server-specific features: ./drbd/recipes/pair.rb:31
354
- FC003: Check whether you are running with chef server before using server-specific features: ./haproxy/recipes/app_lb.rb:20
355
181
  FC003: Check whether you are running with chef server before using server-specific features: ./heartbeat/providers/default.rb:22
356
- FC003: Check whether you are running with chef server before using server-specific features: ./munin/recipes/client.rb:20
357
- FC003: Check whether you are running with chef server before using server-specific features: ./munin/recipes/server.rb:36
358
- FC003: Check whether you are running with chef server before using server-specific features: ./munin/recipes/server.rb:37
359
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/apache.rb:26
360
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/client.rb:31
361
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/client.rb:35
362
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:49
363
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:78
364
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:80
365
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:93
366
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:102
367
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:119
368
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:131
369
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:143
370
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:155
371
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:177
372
- FC003: Check whether you are running with chef server before using server-specific features: ./nagios/recipes/server.rb:180
373
- FC003: Check whether you are running with chef server before using server-specific features: ./openvpn/recipes/users.rb:20
374
- FC003: Check whether you are running with chef server before using server-specific features: ./ossec/recipes/client.rb:25
375
- FC003: Check whether you are running with chef server before using server-specific features: ./ossec/recipes/server.rb:31
376
182
  FC003: Check whether you are running with chef server before using server-specific features: ./partial_search/libraries/partial_search.rb:65
377
183
  FC003: Check whether you are running with chef server before using server-specific features: ./resolver/recipes/from_server_role.rb:21
378
- FC003: Check whether you are running with chef server before using server-specific features: ./samba/recipes/server.rb:32
379
- FC003: Check whether you are running with chef server before using server-specific features: ./sbuild/recipes/default.rb:56
380
184
  FC003: Check whether you are running with chef server before using server-specific features: ./ssh_known_hosts/recipes/default.rb:23
381
185
  FC003: Check whether you are running with chef server before using server-specific features: ./ufw/recipes/databag.rb:32
382
- FC003: Check whether you are running with chef server before using server-specific features: ./zenoss/recipes/client.rb:41
383
- FC003: Check whether you are running with chef server before using server-specific features: ./zenoss/recipes/server.rb:129
384
- FC003: Check whether you are running with chef server before using server-specific features: ./zenoss/recipes/server.rb:186
385
- FC003: Check whether you are running with chef server before using server-specific features: ./zenoss/recipes/server.rb:213
386
- FC004: Use a service resource to start and stop services: ./runit/recipes/default.rb:22
387
- FC005: Avoid repetition of resource declarations: ./apache2/recipes/default.rb:131
388
- FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./apache2/recipes/logrotate.rb:25
389
- FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./apache2/recipes/mod_auth_openid.rb:35
390
186
  FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./boost/recipes/source.rb:1
391
187
  FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./build-essential/recipes/default.rb:65
392
188
  FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./chef-client/recipes/service.rb:197
@@ -394,85 +190,15 @@ FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./chef-cli
394
190
  FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./chef-client/recipes/service.rb:223
395
191
  FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./chef-server/recipes/dev.rb:16
396
192
  FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./mysql/recipes/client.rb:42
397
- FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./postgresql/recipes/ppa_pitti_postgresql.rb:1
398
- FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./postgresql/recipes/ruby.rb:30
399
- FC007: Ensure recipe dependencies are reflected in cookbook metadata: ./tmux/recipes/package.rb:2
400
193
  FC009: Resource attribute not recognised: ./chef-server/recipes/default.rb:46
401
- FC013: Use file_cache_path rather than hard-coding tmp paths: ./zenoss/providers/zenpack.rb:30
402
- FC014: Consider extracting long ruby_block to library: ./java/recipes/openjdk.rb:51
403
194
  FC014: Consider extracting long ruby_block to library: ./lvm/providers/logical_volume.rb:18
404
- FC014: Consider extracting long ruby_block to library: ./pxe_dust/recipes/bootstrap_template.rb:77
405
- FC015: Consider converting definition to a LWRP: apache2/definitions/apache_conf.rb:1
406
- FC015: Consider converting definition to a LWRP: apache2/definitions/apache_module.rb:1
407
- FC015: Consider converting definition to a LWRP: apache2/definitions/apache_site.rb:1
408
- FC015: Consider converting definition to a LWRP: apache2/definitions/web_app.rb:1
409
- FC015: Consider converting definition to a LWRP: god/definitions/god_monitor.rb:1
410
195
  FC015: Consider converting definition to a LWRP: iptables/definitions/iptables_rule.rb:1
411
- FC015: Consider converting definition to a LWRP: logrotate/definitions/logrotate_app.rb:1
412
196
  FC015: Consider converting definition to a LWRP: memcached/definitions/memcached_instance.rb:1
413
- FC015: Consider converting definition to a LWRP: munin/definitions/munin_plugin.rb:1
414
- FC015: Consider converting definition to a LWRP: nagios/definitions/nagios_conf.rb:1
415
- FC015: Consider converting definition to a LWRP: nginx/definitions/nginx_site.rb:1
416
197
  FC015: Consider converting definition to a LWRP: perl/definitions/cpan_module.rb:1
417
- FC015: Consider converting definition to a LWRP: runit/definitions/runit_service.rb:1
418
- FC015: Consider converting definition to a LWRP: sbuild/definitions/sbuild_lv.rb:1
419
198
  FC015: Consider converting definition to a LWRP: unicorn/definitions/unicorn_config.rb:1
420
- FC016: LWRP does not declare a default action: ./application_java/resources/java_webapp.rb:1
421
- FC016: LWRP does not declare a default action: ./application_java/resources/tomcat.rb:1
422
- FC016: LWRP does not declare a default action: ./application_nginx/resources/nginx_load_balancer.rb:1
423
- FC016: LWRP does not declare a default action: ./application_php/resources/mod_php_apache2.rb:1
424
- FC016: LWRP does not declare a default action: ./application_php/resources/php.rb:1
425
- FC016: LWRP does not declare a default action: ./application_python/resources/celery.rb:1
426
- FC016: LWRP does not declare a default action: ./application_python/resources/django.rb:1
427
- FC016: LWRP does not declare a default action: ./application_python/resources/gunicorn.rb:1
428
- FC016: LWRP does not declare a default action: ./application_ruby/resources/memcached.rb:1
429
- FC016: LWRP does not declare a default action: ./application_ruby/resources/passenger_apache2.rb:1
430
- FC016: LWRP does not declare a default action: ./application_ruby/resources/rails.rb:1
431
- FC016: LWRP does not declare a default action: ./application_ruby/resources/unicorn.rb:1
432
199
  FC016: LWRP does not declare a default action: ./dynect/resources/rr.rb:1
433
200
  FC016: LWRP does not declare a default action: ./heartbeat/resources/ipaddr.rb:1
434
- FC016: LWRP does not declare a default action: ./mercurial/resources/default.rb:1
435
- FC016: LWRP does not declare a default action: ./pacman/resources/aur.rb:1
436
- FC016: LWRP does not declare a default action: ./pacman/resources/group.rb:1
437
- FC016: LWRP does not declare a default action: ./python/resources/pip.rb:1
438
- FC016: LWRP does not declare a default action: ./python/resources/virtualenv.rb:1
439
- FC016: LWRP does not declare a default action: ./samba/resources/user.rb:1
440
201
  FC016: LWRP does not declare a default action: ./transmission/resources/torrent_file.rb:1
441
- FC016: LWRP does not declare a default action: ./zenoss/resources/zenbatchload.rb:1
442
- FC016: LWRP does not declare a default action: ./zenoss/resources/zendmd.rb:1
443
- FC016: LWRP does not declare a default action: ./zenoss/resources/zenpack.rb:1
444
- FC016: LWRP does not declare a default action: ./zenoss/resources/zenpatch.rb:1
445
- FC017: LWRP does not notify when updated: ./application/providers/default.rb:23
446
- FC017: LWRP does not notify when updated: ./application/providers/default.rb:33
447
- FC017: LWRP does not notify when updated: ./application/providers/default.rb:43
448
- FC017: LWRP does not notify when updated: ./application_java/providers/java_webapp.rb:25
449
- FC017: LWRP does not notify when updated: ./application_java/providers/tomcat.rb:22
450
- FC017: LWRP does not notify when updated: ./application_java/providers/tomcat.rb:34
451
- FC017: LWRP does not notify when updated: ./application_nginx/providers/nginx_load_balancer.rb:23
452
- FC017: LWRP does not notify when updated: ./application_nginx/providers/nginx_load_balancer.rb:37
453
- FC017: LWRP does not notify when updated: ./application_php/providers/mod_php_apache2.rb:22
454
- FC017: LWRP does not notify when updated: ./application_php/providers/mod_php_apache2.rb:46
455
- FC017: LWRP does not notify when updated: ./application_php/providers/php.rb:22
456
- FC017: LWRP does not notify when updated: ./application_php/providers/php.rb:31
457
- FC017: LWRP does not notify when updated: ./application_python/providers/celery.rb:23
458
- FC017: LWRP does not notify when updated: ./application_python/providers/celery.rb:50
459
- FC017: LWRP does not notify when updated: ./application_python/providers/django.rb:25
460
- FC017: LWRP does not notify when updated: ./application_python/providers/django.rb:36
461
- FC017: LWRP does not notify when updated: ./application_python/providers/django.rb:44
462
- FC017: LWRP does not notify when updated: ./application_python/providers/django.rb:70
463
- FC017: LWRP does not notify when updated: ./application_python/providers/gunicorn.rb:25
464
- FC017: LWRP does not notify when updated: ./application_python/providers/gunicorn.rb:46
465
- FC017: LWRP does not notify when updated: ./application_python/providers/gunicorn.rb:91
466
- FC017: LWRP does not notify when updated: ./application_ruby/providers/memcached.rb:20
467
- FC017: LWRP does not notify when updated: ./application_ruby/providers/memcached.rb:26
468
- FC017: LWRP does not notify when updated: ./application_ruby/providers/passenger_apache2.rb:22
469
- FC017: LWRP does not notify when updated: ./application_ruby/providers/passenger_apache2.rb:40
470
- FC017: LWRP does not notify when updated: ./application_ruby/providers/rails.rb:21
471
- FC017: LWRP does not notify when updated: ./application_ruby/providers/rails.rb:44
472
- FC017: LWRP does not notify when updated: ./application_ruby/providers/rails.rb:54
473
- FC017: LWRP does not notify when updated: ./application_ruby/providers/rails.rb:108
474
- FC017: LWRP does not notify when updated: ./application_ruby/providers/unicorn.rb:23
475
- FC017: LWRP does not notify when updated: ./application_ruby/providers/unicorn.rb:54
476
202
  FC017: LWRP does not notify when updated: ./apt/providers/repository.rb:124
477
203
  FC017: LWRP does not notify when updated: ./cron/providers/d.rb:1
478
204
  FC017: LWRP does not notify when updated: ./dmg/providers/package.rb:27
@@ -502,8 +228,6 @@ FC017: LWRP does not notify when updated: ./iis/providers/site.rb:114
502
228
  FC017: LWRP does not notify when updated: ./lvm/providers/physical_volume.rb:6
503
229
  FC017: LWRP does not notify when updated: ./maven/providers/default.rb:61
504
230
  FC017: LWRP does not notify when updated: ./maven/providers/default.rb:65
505
- FC017: LWRP does not notify when updated: ./pacman/providers/aur.rb:24
506
- FC017: LWRP does not notify when updated: ./pacman/providers/aur.rb:98
507
231
  FC017: LWRP does not notify when updated: ./php/providers/pear_channel.rb:31
508
232
  FC017: LWRP does not notify when updated: ./php/providers/pear_channel.rb:40
509
233
  FC017: LWRP does not notify when updated: ./php/providers/pear_channel.rb:69
@@ -511,24 +235,6 @@ FC017: LWRP does not notify when updated: ./powershell/providers/default.rb:19
511
235
  FC017: LWRP does not notify when updated: ./rsync/providers/serve.rb:65
512
236
  FC017: LWRP does not notify when updated: ./rsync/providers/serve.rb:69
513
237
  FC017: LWRP does not notify when updated: ./sudo/providers/default.rb:102
514
- FC017: LWRP does not notify when updated: ./supervisor/providers/fcgi.rb:21
515
- FC017: LWRP does not notify when updated: ./supervisor/providers/fcgi.rb:38
516
- FC017: LWRP does not notify when updated: ./supervisor/providers/fcgi.rb:50
517
- FC017: LWRP does not notify when updated: ./supervisor/providers/fcgi.rb:56
518
- FC017: LWRP does not notify when updated: ./supervisor/providers/fcgi.rb:62
519
- FC017: LWRP does not notify when updated: ./supervisor/providers/fcgi.rb:68
520
- FC017: LWRP does not notify when updated: ./supervisor/providers/group.rb:21
521
- FC017: LWRP does not notify when updated: ./supervisor/providers/group.rb:38
522
- FC017: LWRP does not notify when updated: ./supervisor/providers/group.rb:50
523
- FC017: LWRP does not notify when updated: ./supervisor/providers/group.rb:56
524
- FC017: LWRP does not notify when updated: ./supervisor/providers/group.rb:62
525
- FC017: LWRP does not notify when updated: ./supervisor/providers/group.rb:68
526
- FC017: LWRP does not notify when updated: ./supervisor/providers/service.rb:21
527
- FC017: LWRP does not notify when updated: ./supervisor/providers/service.rb:38
528
- FC017: LWRP does not notify when updated: ./supervisor/providers/service.rb:50
529
- FC017: LWRP does not notify when updated: ./supervisor/providers/service.rb:56
530
- FC017: LWRP does not notify when updated: ./supervisor/providers/service.rb:62
531
- FC017: LWRP does not notify when updated: ./supervisor/providers/service.rb:68
532
238
  FC017: LWRP does not notify when updated: ./webpi/providers/product.rb:26
533
239
  FC017: LWRP does not notify when updated: ./windows/providers/auto_run.rb:21
534
240
  FC017: LWRP does not notify when updated: ./windows/providers/auto_run.rb:27
@@ -555,19 +261,7 @@ FC017: LWRP does not notify when updated: ./windows/providers/zipfile.rb:44
555
261
  FC017: LWRP does not notify when updated: ./yum/providers/key.rb:25
556
262
  FC017: LWRP does not notify when updated: ./yum/providers/repository.rb:28
557
263
  FC017: LWRP does not notify when updated: ./yum/providers/repository.rb:45
558
- FC017: LWRP does not notify when updated: ./zenoss/providers/zenbatchload.rb:2
559
- FC017: LWRP does not notify when updated: ./zenoss/providers/zendmd.rb:2
560
- FC017: LWRP does not notify when updated: ./zenoss/providers/zendmd.rb:33
561
- FC017: LWRP does not notify when updated: ./zenoss/providers/zendmd.rb:63
562
- FC017: LWRP does not notify when updated: ./zenoss/providers/zendmd.rb:77
563
- FC017: LWRP does not notify when updated: ./zenoss/providers/zendmd.rb:88
564
- FC017: LWRP does not notify when updated: ./zenoss/providers/zendmd.rb:97
565
- FC017: LWRP does not notify when updated: ./zenoss/providers/zenpatch.rb:1
566
- FC018: LWRP uses deprecated notification syntax: ./pacman/providers/aur.rb:94
567
- FC018: LWRP uses deprecated notification syntax: ./pacman/providers/aur.rb:104
568
264
  FC018: LWRP uses deprecated notification syntax: ./windows/providers/shortcut.rb:54
569
- FC019: Access node attributes in a consistent manner: ant/providers/library.rb:27
570
- FC019: Access node attributes in a consistent manner: ant/providers/library.rb:39
571
265
  FC019: Access node attributes in a consistent manner: chef-server/libraries/omnitruck_client.rb:76
572
266
  FC019: Access node attributes in a consistent manner: chef-server/libraries/omnitruck_client.rb:77
573
267
  FC019: Access node attributes in a consistent manner: chef-server/libraries/omnitruck_client.rb:78
@@ -601,114 +295,35 @@ FC019: Access node attributes in a consistent manner: gecode/recipes/package.rb:
601
295
  FC019: Access node attributes in a consistent manner: gecode/recipes/package.rb:30
602
296
  FC019: Access node attributes in a consistent manner: gecode/recipes/package.rb:51
603
297
  FC019: Access node attributes in a consistent manner: gecode/recipes/package.rb:56
604
- FC019: Access node attributes in a consistent manner: munin/attributes/default.rb:27
605
- FC019: Access node attributes in a consistent manner: munin/recipes/client.rb:36
606
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:20
607
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:24
608
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:25
609
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:28
610
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:29
611
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:46
612
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:49
613
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:51
614
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:54
615
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:57
616
- FC019: Access node attributes in a consistent manner: munin/recipes/server.rb:64
617
- FC019: Access node attributes in a consistent manner: munin/recipes/server_apache.rb:10
618
- FC019: Access node attributes in a consistent manner: munin/recipes/server_apache.rb:13
619
- FC019: Access node attributes in a consistent manner: munin/recipes/server_apache.rb:15
620
- FC019: Access node attributes in a consistent manner: munin/recipes/server_apache.rb:18
621
- FC019: Access node attributes in a consistent manner: munin/recipes/server_apache.rb:21
622
- FC019: Access node attributes in a consistent manner: munin/recipes/server_apache.rb:25
623
- FC019: Access node attributes in a consistent manner: munin/recipes/server_nginx.rb:14
624
- FC019: Access node attributes in a consistent manner: munin/recipes/server_nginx.rb:16
625
- FC019: Access node attributes in a consistent manner: munin/recipes/server_nginx.rb:19
626
- FC019: Access node attributes in a consistent manner: munin/recipes/server_nginx.rb:21
627
- FC019: Access node attributes in a consistent manner: munin/recipes/server_nginx.rb:24
628
298
  FC019: Access node attributes in a consistent manner: passenger_apache2/recipes/default.rb:33
629
299
  FC019: Access node attributes in a consistent manner: passenger_apache2/recipes/default.rb:41
630
- FC019: Access node attributes in a consistent manner: pdns/recipes/recursor.rb:36
631
300
  FC019: Access node attributes in a consistent manner: perl/definitions/cpan_module.rb:27
632
301
  FC019: Access node attributes in a consistent manner: perl/recipes/default.rb:26
633
302
  FC019: Access node attributes in a consistent manner: powershell/recipes/default.rb:69
634
- FC019: Access node attributes in a consistent manner: rabbitmq/attributes/default.rb:44
635
- FC019: Access node attributes in a consistent manner: radiant/libraries/radiant.rb:4
636
- FC019: Access node attributes in a consistent manner: radiant/recipes/db_bootstrap.rb:37
637
- FC019: Access node attributes in a consistent manner: radiant/recipes/db_bootstrap.rb:45
638
- FC019: Access node attributes in a consistent manner: radiant/recipes/default.rb:60
639
- FC019: Access node attributes in a consistent manner: radiant/recipes/default.rb:61
640
- FC019: Access node attributes in a consistent manner: runit/definitions/runit_service.rb:145
641
- FC019: Access node attributes in a consistent manner: runit/definitions/runit_service.rb:154
642
- FC019: Access node attributes in a consistent manner: trac/recipes/default.rb:53
643
303
  FC019: Access node attributes in a consistent manner: ufw/attributes/default.rb:1
644
304
  FC019: Access node attributes in a consistent manner: ufw/attributes/default.rb:2
645
- FC019: Access node attributes in a consistent manner: zenoss/attributes/default.rb:33
646
- FC019: Access node attributes in a consistent manner: zenoss/recipes/server.rb:62
647
- FC019: Access node attributes in a consistent manner: zenoss/recipes/server.rb:86
648
- FC019: Access node attributes in a consistent manner: zenoss/recipes/server.rb:95
649
- FC019: Access node attributes in a consistent manner: zenoss/recipes/server.rb:96
650
- FC019: Access node attributes in a consistent manner: zenoss/recipes/server.rb:106
651
- FC019: Access node attributes in a consistent manner: zenoss/recipes/server.rb:163
652
- FC019: Access node attributes in a consistent manner: zenoss/recipes/server.rb:226
653
- FC019: Access node attributes in a consistent manner: zenoss/recipes/server.rb:227
654
- FC023: Prefer conditional attributes: ./apache2/definitions/apache_module.rb:30
655
- FC023: Prefer conditional attributes: ./application_ruby/providers/rails.rb:100
656
305
  FC023: Prefer conditional attributes: ./apt/providers/repository.rb:26
657
306
  FC023: Prefer conditional attributes: ./apt/providers/repository.rb:68
658
307
  FC023: Prefer conditional attributes: ./chef-client/recipes/config.rb:62
659
- FC023: Prefer conditional attributes: ./cloudkick/recipes/default.rb:48
660
308
  FC023: Prefer conditional attributes: ./database/recipes/ebs_backup.rb:81
661
309
  FC023: Prefer conditional attributes: ./gecode/recipes/package.rb:29
662
- FC023: Prefer conditional attributes: ./gnu_parallel/recipes/homebrew.rb:22
663
310
  FC023: Prefer conditional attributes: ./homebrew/providers/tap.rb:14
664
311
  FC023: Prefer conditional attributes: ./homebrew/providers/tap.rb:22
665
312
  FC023: Prefer conditional attributes: ./lvm/providers/volume_group.rb:12
666
- FC023: Prefer conditional attributes: ./munin/definitions/munin_plugin.rb:29
667
- FC023: Prefer conditional attributes: ./nagios/recipes/nginx.rb:17
668
- FC023: Prefer conditional attributes: ./nagios/recipes/server_source.rb:125
669
313
  FC023: Prefer conditional attributes: ./passenger_apache2/recipes/mod_rails.rb:27
670
- FC023: Prefer conditional attributes: ./rabbitmq/providers/plugin.rb:29
671
- FC023: Prefer conditional attributes: ./rabbitmq/providers/plugin.rb:38
672
- FC023: Prefer conditional attributes: ./runit/definitions/runit_service.rb:107
673
- FC023: Prefer conditional attributes: ./runit/definitions/runit_service.rb:158
674
- FC023: Prefer conditional attributes: ./runit/recipes/default.rb:37
675
- FC023: Prefer conditional attributes: ./samba/recipes/server.rb:24
676
314
  FC023: Prefer conditional attributes: ./users/providers/manage.rb:70
677
315
  FC023: Prefer conditional attributes: ./users/providers/manage.rb:101
678
- FC023: Prefer conditional attributes: ./wordpress/recipes/default.rb:53
679
- FC023: Prefer conditional attributes: ./wordpress/recipes/default.rb:112
680
316
  FC023: Prefer conditional attributes: ./yum/providers/key.rb:59
681
- FC024: Consider adding platform equivalents: ./munin/attributes/default.rb:34
682
317
  FC024: Consider adding platform equivalents: ./mysql/recipes/server.rb:130
683
318
  FC024: Consider adding platform equivalents: ./mysql/recipes/server.rb:132
684
- FC024: Consider adding platform equivalents: ./pdns/attributes/default.rb:24
685
319
  FC024: Consider adding platform equivalents: ./transmission/recipes/default.rb:42
686
320
  FC025: Prefer chef_gem to compile-time gem install: ./transmission/recipes/default.rb:25
687
321
  FC025: Prefer chef_gem to compile-time gem install: ./transmission/recipes/default.rb:31
688
322
  FC029: No leading cookbook name in recipe metadata: ./apparmor/metadata.rb:8
689
- FC033: Missing template: ./pdns/recipes/server.rb:43
690
323
  FC034: Unused template variables: ./activemq/templates/default/wrapper.conf.erb:1
691
- FC034: Unused template variables: ./application_java/templates/default/context.xml.erb:1
692
- FC034: Unused template variables: ./application_python/templates/default/celeryconfig.py.erb:1
693
- FC034: Unused template variables: ./horizon/templates/default/local_settings.py.erb:1
694
- FC034: Unused template variables: ./nova/templates/default/libvirtd.conf.erb:1
695
- FC034: Unused template variables: ./sbuild/templates/default/mk_chroot.sh.erb:1
696
- FC041: Execute resource used to run curl or wget commands: ./hadoop/recipes/default.rb:33
697
324
  FC042: Prefer include_recipe to require_recipe: ./postfix/recipes/aliases.rb:17
698
- FC043: Prefer new notification syntax: ./apache2/definitions/apache_module.rb:20
699
- FC043: Prefer new notification syntax: ./apache2/definitions/apache_module.rb:38
700
- FC043: Prefer new notification syntax: ./apache2/definitions/apache_module.rb:47
701
- FC043: Prefer new notification syntax: ./apache2/definitions/apache_site.rb:20
702
- FC043: Prefer new notification syntax: ./apache2/definitions/apache_site.rb:24
703
- FC043: Prefer new notification syntax: ./apache2/definitions/apache_site.rb:34
704
- FC043: Prefer new notification syntax: ./apache2/definitions/web_app.rb:20
705
- FC043: Prefer new notification syntax: ./apache2/definitions/web_app.rb:29
706
- FC043: Prefer new notification syntax: ./apache2/recipes/mod_fcgid.rb:24
707
- FC043: Prefer new notification syntax: ./application_java/providers/tomcat.rb:46
708
- FC043: Prefer new notification syntax: ./application_nginx/providers/nginx_load_balancer.rb:39
709
325
  FC043: Prefer new notification syntax: ./apt/providers/repository.rb:112
710
326
  FC043: Prefer new notification syntax: ./apt/recipes/default.rb:48
711
- FC043: Prefer new notification syntax: ./cloudkick/recipes/default.rb:77
712
327
  FC043: Prefer new notification syntax: ./database/recipes/ebs_volume.rb:104
713
328
  FC043: Prefer new notification syntax: ./drbd/recipes/pair.rb:45
714
329
  FC043: Prefer new notification syntax: ./drbd/recipes/pair.rb:58
@@ -716,19 +331,6 @@ FC043: Prefer new notification syntax: ./drbd/recipes/pair.rb:65
716
331
  FC043: Prefer new notification syntax: ./drbd/recipes/pair.rb:85
717
332
  FC043: Prefer new notification syntax: ./dynect/recipes/ec2.rb:69
718
333
  FC043: Prefer new notification syntax: ./gems/recipes/server.rb:50
719
- FC043: Prefer new notification syntax: ./glance/recipes/api.rb:51
720
- FC043: Prefer new notification syntax: ./glance/recipes/api.rb:102
721
- FC043: Prefer new notification syntax: ./glance/recipes/api.rb:128
722
- FC043: Prefer new notification syntax: ./glance/recipes/api.rb:145
723
- FC043: Prefer new notification syntax: ./glance/recipes/api.rb:160
724
- FC043: Prefer new notification syntax: ./glance/recipes/registry.rb:76
725
- FC043: Prefer new notification syntax: ./glance/recipes/registry.rb:84
726
- FC043: Prefer new notification syntax: ./glance/recipes/registry.rb:143
727
- FC043: Prefer new notification syntax: ./glance/recipes/registry.rb:161
728
- FC043: Prefer new notification syntax: ./god/definitions/god_monitor.rb:20
729
- FC043: Prefer new notification syntax: ./god/definitions/god_monitor.rb:23
730
- FC043: Prefer new notification syntax: ./horizon/recipes/server.rb:159
731
- FC043: Prefer new notification syntax: ./horizon/recipes/server.rb:165
732
334
  FC043: Prefer new notification syntax: ./iptables/definitions/iptables_rule.rb:20
733
335
  FC043: Prefer new notification syntax: ./iptables/definitions/iptables_rule.rb:23
734
336
  FC043: Prefer new notification syntax: ./jetty/recipes/cargo.rb:41
@@ -738,72 +340,26 @@ FC043: Prefer new notification syntax: ./jetty/recipes/cargo.rb:80
738
340
  FC043: Prefer new notification syntax: ./jetty/recipes/default.rb:53
739
341
  FC043: Prefer new notification syntax: ./jetty/recipes/default.rb:61
740
342
  FC043: Prefer new notification syntax: ./jpackage/recipes/default.rb:33
741
- FC043: Prefer new notification syntax: ./keystone/recipes/server.rb:63
742
- FC043: Prefer new notification syntax: ./keystone/recipes/server.rb:89
743
- FC043: Prefer new notification syntax: ./keystone/recipes/server.rb:112
744
343
  FC043: Prefer new notification syntax: ./maradns/recipes/default.rb:37
745
344
  FC043: Prefer new notification syntax: ./maradns/recipes/default.rb:46
746
345
  FC043: Prefer new notification syntax: ./memcached/recipes/default.rb:41
747
346
  FC043: Prefer new notification syntax: ./memcached/recipes/default.rb:56
748
347
  FC043: Prefer new notification syntax: ./memcached/recipes/default.rb:74
749
- FC043: Prefer new notification syntax: ./munin/definitions/munin_plugin.rb:21
750
- FC043: Prefer new notification syntax: ./munin/definitions/munin_plugin.rb:39
751
- FC043: Prefer new notification syntax: ./munin/recipes/client.rb:29
752
- FC043: Prefer new notification syntax: ./munin/recipes/server_apache.rb:21
753
- FC043: Prefer new notification syntax: ./nagios/providers/nrpecheck.rb:31
754
- FC043: Prefer new notification syntax: ./nagios/providers/nrpecheck.rb:44
755
- FC043: Prefer new notification syntax: ./nginx/recipes/http_geoip_module.rb:41
756
- FC043: Prefer new notification syntax: ./nova/recipes/api-ec2.rb:46
757
- FC043: Prefer new notification syntax: ./nova/recipes/api-ec2.rb:113
758
- FC043: Prefer new notification syntax: ./nova/recipes/api-metadata.rb:42
759
- FC043: Prefer new notification syntax: ./nova/recipes/api-metadata.rb:53
760
- FC043: Prefer new notification syntax: ./nova/recipes/api-os-compute.rb:47
761
- FC043: Prefer new notification syntax: ./nova/recipes/api-os-compute.rb:112
762
- FC043: Prefer new notification syntax: ./nova/recipes/api-os-volume.rb:42
763
- FC043: Prefer new notification syntax: ./nova/recipes/api-os-volume.rb:53
764
- FC043: Prefer new notification syntax: ./nova/recipes/compute.rb:48
765
- FC043: Prefer new notification syntax: ./nova/recipes/libvirt.rb:70
766
- FC043: Prefer new notification syntax: ./nova/recipes/libvirt.rb:81
767
- FC043: Prefer new notification syntax: ./nova/recipes/libvirt.rb:90
768
- FC043: Prefer new notification syntax: ./nova/recipes/network.rb:31
769
- FC043: Prefer new notification syntax: ./nova/recipes/nova-cert.rb:30
770
- FC043: Prefer new notification syntax: ./nova/recipes/nova-scheduler-patch.rb:24
771
- FC043: Prefer new notification syntax: ./nova/recipes/scheduler.rb:38
772
- FC043: Prefer new notification syntax: ./nova/recipes/vncproxy.rb:38
773
- FC043: Prefer new notification syntax: ./nova/recipes/vncproxy.rb:45
774
- FC043: Prefer new notification syntax: ./nova/recipes/volume.rb:36
775
- FC043: Prefer new notification syntax: ./ntp/recipes/default.rb:44
776
348
  FC043: Prefer new notification syntax: ./openldap/recipes/auth.rb:46
777
349
  FC043: Prefer new notification syntax: ./openldap/recipes/auth.rb:56
778
350
  FC043: Prefer new notification syntax: ./openldap/recipes/server.rb:71
779
351
  FC043: Prefer new notification syntax: ./openldap/recipes/server.rb:78
780
352
  FC043: Prefer new notification syntax: ./openldap/recipes/server.rb:97
781
- FC043: Prefer new notification syntax: ./rabbitmq/recipes/mgmt_console.rb:25
782
- FC043: Prefer new notification syntax: ./runit/definitions/runit_service.rb:20
783
- FC043: Prefer new notification syntax: ./runit/definitions/runit_service.rb:172
784
- FC043: Prefer new notification syntax: ./runit/recipes/default.rb:44
785
- FC043: Prefer new notification syntax: ./runit/recipes/default.rb:65
786
- FC043: Prefer new notification syntax: ./samba/recipes/server.rb:55
787
353
  FC043: Prefer new notification syntax: ./subversion/recipes/server.rb:30
788
- FC043: Prefer new notification syntax: ./supervisor/providers/fcgi.rb:27
789
- FC043: Prefer new notification syntax: ./supervisor/providers/fcgi.rb:44
790
- FC043: Prefer new notification syntax: ./supervisor/providers/group.rb:27
791
- FC043: Prefer new notification syntax: ./supervisor/providers/group.rb:44
792
- FC043: Prefer new notification syntax: ./supervisor/providers/service.rb:27
793
- FC043: Prefer new notification syntax: ./supervisor/providers/service.rb:44
794
354
  FC043: Prefer new notification syntax: ./tomcat/recipes/default.rb:50
795
355
  FC043: Prefer new notification syntax: ./tomcat/recipes/default.rb:58
796
356
  FC043: Prefer new notification syntax: ./tomcat/recipes/default.rb:67
797
357
  FC043: Prefer new notification syntax: ./tomcat/recipes/users.rb:22
798
358
  FC043: Prefer new notification syntax: ./yum/providers/key.rb:60
799
359
  FC043: Prefer new notification syntax: ./yum/providers/repository.rb:94
800
- FC043: Prefer new notification syntax: ./zenoss/recipes/server.rb:155
801
- FC043: Prefer new notification syntax: ./zenoss/recipes/server.rb:164
802
360
  FC044: Avoid bare attribute keys: ./resolver/attributes/default.rb:20
803
361
  FC045: Consider setting cookbook name in metadata: ./maven/metadata.rb:1
804
362
  FC047: Attribute assignment does not specify precedence: ./jetty/recipes/cargo.rb:35
805
- FC047: Attribute assignment does not specify precedence: ./munin/recipes/server_apache.rb:1
806
- FC047: Attribute assignment does not specify precedence: ./python/recipes/package.rb:28
807
363
  FC047: Attribute assignment does not specify precedence: ./users/providers/manage.rb:55
808
364
  FC048: Prefer Mixlib::ShellOut: ./apt/providers/repository.rb:26
809
365
  FC048: Prefer Mixlib::ShellOut: ./chef-client/recipes/cron.rb:38
@@ -813,5 +369,9 @@ FC048: Prefer Mixlib::ShellOut: ./chef-client/recipes/task.rb:42
813
369
  FC048: Prefer Mixlib::ShellOut: ./dmg/providers/package.rb:44
814
370
  FC048: Prefer Mixlib::ShellOut: ./dmg/providers/package.rb:47
815
371
  FC048: Prefer Mixlib::ShellOut: ./dmg/providers/package.rb:76
816
- FC048: Prefer Mixlib::ShellOut: ./nginx/recipes/passenger.rb:20
817
372
  FC048: Prefer Mixlib::ShellOut: ./windows/providers/task.rb:106
373
+ FC052: Metadata uses the unimplemented "suggests" keyword: ./build-essential/metadata.rb:14
374
+ FC052: Metadata uses the unimplemented "suggests" keyword: ./mysql/metadata.rb:19
375
+ FC052: Metadata uses the unimplemented "suggests" keyword: ./mysql/metadata.rb:20
376
+ FC052: Metadata uses the unimplemented "suggests" keyword: ./nscd/metadata.rb:7
377
+ FC053: Metadata uses the unimplemented "recommends" keyword: ./boost/metadata.rb:12