puppet-debugger 0.10.3 → 0.11.0

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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +16 -74
  3. data/.rubocop_todo.yml +59 -59
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +7 -0
  6. data/Gemfile +3 -2
  7. data/lib/plugins/puppet-debugger/input_responders/functions.rb +100 -1
  8. data/lib/puppet-debugger/cli.rb +1 -2
  9. data/lib/puppet-debugger/input_responder_plugin.rb +8 -1
  10. data/lib/puppet-debugger/support.rb +14 -2
  11. data/lib/puppet-debugger/version.rb +1 -1
  12. data/puppet-debugger.gemspec +2 -0
  13. data/spec/fixtures/modules/extlib/.editorconfig +14 -0
  14. data/spec/fixtures/modules/extlib/.fixtures.yml +3 -0
  15. data/spec/fixtures/modules/extlib/.github/CONTRIBUTING.md +184 -0
  16. data/spec/fixtures/modules/extlib/.github/ISSUE_TEMPLATE.md +26 -0
  17. data/spec/fixtures/modules/extlib/.github/PULL_REQUEST_TEMPLATE.md +20 -0
  18. data/spec/fixtures/modules/extlib/.gitignore +21 -0
  19. data/spec/fixtures/modules/extlib/.msync.yml +1 -0
  20. data/spec/fixtures/modules/extlib/.overcommit.yml +64 -0
  21. data/spec/fixtures/modules/extlib/.pmtignore +21 -0
  22. data/spec/fixtures/modules/extlib/.rspec +2 -0
  23. data/spec/fixtures/modules/extlib/.rspec_parallel +1 -0
  24. data/spec/fixtures/modules/extlib/.rubocop.yml +545 -0
  25. data/spec/fixtures/modules/extlib/.sync.yml +12 -0
  26. data/spec/fixtures/modules/extlib/.travis.yml +47 -0
  27. data/spec/fixtures/modules/extlib/.yardopts +2 -0
  28. data/spec/fixtures/modules/extlib/Gemfile +82 -0
  29. data/spec/fixtures/modules/extlib/Rakefile +82 -0
  30. data/spec/fixtures/modules/extlib/functions/dir_split.pp +25 -0
  31. data/spec/fixtures/modules/extlib/functions/file_separator.pp +7 -0
  32. data/spec/fixtures/modules/extlib/functions/mkdir_p.pp +20 -0
  33. data/spec/fixtures/modules/extlib/functions/path_join.pp +29 -0
  34. data/spec/fixtures/modules/extlib/lib/puppet/functions/cache_data.rb +11 -0
  35. data/spec/fixtures/modules/extlib/lib/puppet/functions/default_content.rb +11 -0
  36. data/spec/fixtures/modules/extlib/lib/puppet/functions/dump_args.rb +11 -0
  37. data/spec/fixtures/modules/extlib/lib/puppet/functions/echo.rb +11 -0
  38. data/spec/fixtures/modules/extlib/lib/puppet/functions/extlib/cache_data.rb +48 -0
  39. data/spec/fixtures/modules/extlib/lib/puppet/functions/extlib/default_content.rb +37 -0
  40. data/spec/fixtures/modules/extlib/lib/puppet/functions/extlib/dump_args.rb +20 -0
  41. data/spec/fixtures/modules/extlib/lib/puppet/functions/extlib/echo.rb +45 -0
  42. data/spec/fixtures/modules/extlib/lib/puppet/functions/extlib/has_module.rb +33 -0
  43. data/spec/fixtures/modules/extlib/lib/puppet/functions/extlib/ip_to_cron.rb +39 -0
  44. data/spec/fixtures/modules/extlib/lib/puppet/functions/extlib/random_password.rb +63 -0
  45. data/spec/fixtures/modules/extlib/lib/puppet/functions/extlib/resources_deep_merge.rb +87 -0
  46. data/spec/fixtures/modules/extlib/lib/puppet/functions/extlib/sort_by_version.rb +15 -0
  47. data/spec/fixtures/modules/extlib/lib/puppet/functions/ip_to_cron.rb +11 -0
  48. data/spec/fixtures/modules/extlib/lib/puppet/functions/random_password.rb +11 -0
  49. data/spec/fixtures/modules/extlib/lib/puppet/functions/resources_deep_merge.rb +11 -0
  50. data/spec/fixtures/modules/extlib/metadata.json +66 -0
  51. data/spec/input_responder_plugin_spec.rb +1 -1
  52. data/spec/input_responders/functions_spec.rb +46 -1
  53. data/spec/spec_helper.rb +5 -5
  54. data/spec/support_spec.rb +0 -8
  55. metadata +69 -4
  56. data/lib/puppet-debugger/support/functions.rb +0 -72
@@ -0,0 +1,545 @@
1
+ require: rubocop-rspec
2
+ AllCops:
3
+ TargetRubyVersion: 1.9
4
+ Include:
5
+ - ./**/*.rb
6
+ Exclude:
7
+ - files/**/*
8
+ - vendor/**/*
9
+ - .vendor/**/*
10
+ - pkg/**/*
11
+ - spec/fixtures/**/*
12
+ - Gemfile
13
+ - Rakefile
14
+ - Guardfile
15
+ - Vagrantfile
16
+ Lint/ConditionPosition:
17
+ Enabled: True
18
+
19
+ Lint/ElseLayout:
20
+ Enabled: True
21
+
22
+ Lint/UnreachableCode:
23
+ Enabled: True
24
+
25
+ Lint/UselessComparison:
26
+ Enabled: True
27
+
28
+ Lint/EnsureReturn:
29
+ Enabled: True
30
+
31
+ Lint/HandleExceptions:
32
+ Enabled: True
33
+
34
+ Lint/LiteralInCondition:
35
+ Enabled: True
36
+
37
+ Lint/ShadowingOuterLocalVariable:
38
+ Enabled: True
39
+
40
+ Lint/LiteralInInterpolation:
41
+ Enabled: True
42
+
43
+ Style/HashSyntax:
44
+ Enabled: True
45
+
46
+ Style/RedundantReturn:
47
+ Enabled: True
48
+
49
+ Layout/EndOfLine:
50
+ Enabled: False
51
+
52
+ Lint/AmbiguousOperator:
53
+ Enabled: True
54
+
55
+ Lint/AssignmentInCondition:
56
+ Enabled: True
57
+
58
+ Layout/SpaceBeforeComment:
59
+ Enabled: True
60
+
61
+ Style/AndOr:
62
+ Enabled: True
63
+
64
+ Style/RedundantSelf:
65
+ Enabled: True
66
+
67
+ Metrics/BlockLength:
68
+ Enabled: False
69
+
70
+ # Method length is not necessarily an indicator of code quality
71
+ Metrics/MethodLength:
72
+ Enabled: False
73
+
74
+ # Module length is not necessarily an indicator of code quality
75
+ Metrics/ModuleLength:
76
+ Enabled: False
77
+
78
+ Style/WhileUntilModifier:
79
+ Enabled: True
80
+
81
+ Lint/AmbiguousRegexpLiteral:
82
+ Enabled: True
83
+
84
+ Security/Eval:
85
+ Enabled: True
86
+
87
+ Lint/BlockAlignment:
88
+ Enabled: True
89
+
90
+ Lint/DefEndAlignment:
91
+ Enabled: True
92
+
93
+ Lint/EndAlignment:
94
+ Enabled: True
95
+
96
+ Lint/DeprecatedClassMethods:
97
+ Enabled: True
98
+
99
+ Lint/Loop:
100
+ Enabled: True
101
+
102
+ Lint/ParenthesesAsGroupedExpression:
103
+ Enabled: True
104
+
105
+ Lint/RescueException:
106
+ Enabled: True
107
+
108
+ Lint/StringConversionInInterpolation:
109
+ Enabled: True
110
+
111
+ Lint/UnusedBlockArgument:
112
+ Enabled: True
113
+
114
+ Lint/UnusedMethodArgument:
115
+ Enabled: True
116
+
117
+ Lint/UselessAccessModifier:
118
+ Enabled: True
119
+
120
+ Lint/UselessAssignment:
121
+ Enabled: True
122
+
123
+ Lint/Void:
124
+ Enabled: True
125
+
126
+ Layout/AccessModifierIndentation:
127
+ Enabled: True
128
+
129
+ Style/AccessorMethodName:
130
+ Enabled: True
131
+
132
+ Style/Alias:
133
+ Enabled: True
134
+
135
+ Layout/AlignArray:
136
+ Enabled: True
137
+
138
+ Layout/AlignHash:
139
+ Enabled: True
140
+
141
+ Layout/AlignParameters:
142
+ Enabled: True
143
+
144
+ Metrics/BlockNesting:
145
+ Enabled: True
146
+
147
+ Style/AsciiComments:
148
+ Enabled: True
149
+
150
+ Style/Attr:
151
+ Enabled: True
152
+
153
+ Style/BracesAroundHashParameters:
154
+ Enabled: True
155
+
156
+ Style/CaseEquality:
157
+ Enabled: True
158
+
159
+ Layout/CaseIndentation:
160
+ Enabled: True
161
+
162
+ Style/CharacterLiteral:
163
+ Enabled: True
164
+
165
+ Style/ClassAndModuleCamelCase:
166
+ Enabled: True
167
+
168
+ Style/ClassAndModuleChildren:
169
+ Enabled: False
170
+
171
+ Style/ClassCheck:
172
+ Enabled: True
173
+
174
+ # Class length is not necessarily an indicator of code quality
175
+ Metrics/ClassLength:
176
+ Enabled: False
177
+
178
+ Style/ClassMethods:
179
+ Enabled: True
180
+
181
+ Style/ClassVars:
182
+ Enabled: True
183
+
184
+ Style/WhenThen:
185
+ Enabled: True
186
+
187
+ Style/WordArray:
188
+ Enabled: True
189
+
190
+ Style/UnneededPercentQ:
191
+ Enabled: True
192
+
193
+ Layout/Tab:
194
+ Enabled: True
195
+
196
+ Layout/SpaceBeforeSemicolon:
197
+ Enabled: True
198
+
199
+ Layout/TrailingBlankLines:
200
+ Enabled: True
201
+
202
+ Layout/SpaceInsideBlockBraces:
203
+ Enabled: True
204
+
205
+ Layout/SpaceInsideBrackets:
206
+ Enabled: True
207
+
208
+ Layout/SpaceInsideHashLiteralBraces:
209
+ Enabled: True
210
+
211
+ Layout/SpaceInsideParens:
212
+ Enabled: True
213
+
214
+ Layout/LeadingCommentSpace:
215
+ Enabled: True
216
+
217
+ Layout/SpaceBeforeFirstArg:
218
+ Enabled: True
219
+
220
+ Layout/SpaceAfterColon:
221
+ Enabled: True
222
+
223
+ Layout/SpaceAfterComma:
224
+ Enabled: True
225
+
226
+ Layout/SpaceAfterMethodName:
227
+ Enabled: True
228
+
229
+ Layout/SpaceAfterNot:
230
+ Enabled: True
231
+
232
+ Layout/SpaceAfterSemicolon:
233
+ Enabled: True
234
+
235
+ Layout/SpaceAroundEqualsInParameterDefault:
236
+ Enabled: True
237
+
238
+ Layout/SpaceAroundOperators:
239
+ Enabled: True
240
+
241
+ Layout/SpaceBeforeBlockBraces:
242
+ Enabled: True
243
+
244
+ Layout/SpaceBeforeComma:
245
+ Enabled: True
246
+
247
+ Style/CollectionMethods:
248
+ Enabled: True
249
+
250
+ Layout/CommentIndentation:
251
+ Enabled: True
252
+
253
+ Style/ColonMethodCall:
254
+ Enabled: True
255
+
256
+ Style/CommentAnnotation:
257
+ Enabled: True
258
+
259
+ # 'Complexity' is very relative
260
+ Metrics/CyclomaticComplexity:
261
+ Enabled: False
262
+
263
+ Style/ConstantName:
264
+ Enabled: True
265
+
266
+ Style/Documentation:
267
+ Enabled: False
268
+
269
+ Style/DefWithParentheses:
270
+ Enabled: True
271
+
272
+ Style/PreferredHashMethods:
273
+ Enabled: True
274
+
275
+ Layout/DotPosition:
276
+ EnforcedStyle: trailing
277
+
278
+ Style/DoubleNegation:
279
+ Enabled: True
280
+
281
+ Style/EachWithObject:
282
+ Enabled: True
283
+
284
+ Layout/EmptyLineBetweenDefs:
285
+ Enabled: True
286
+
287
+ Layout/IndentArray:
288
+ Enabled: True
289
+
290
+ Layout/IndentHash:
291
+ Enabled: True
292
+
293
+ Layout/IndentationConsistency:
294
+ Enabled: True
295
+
296
+ Layout/IndentationWidth:
297
+ Enabled: True
298
+
299
+ Layout/EmptyLines:
300
+ Enabled: True
301
+
302
+ Layout/EmptyLinesAroundAccessModifier:
303
+ Enabled: True
304
+
305
+ Style/EmptyLiteral:
306
+ Enabled: True
307
+
308
+ # Configuration parameters: AllowURI, URISchemes.
309
+ Metrics/LineLength:
310
+ Enabled: False
311
+
312
+ Style/MethodCallWithoutArgsParentheses:
313
+ Enabled: True
314
+
315
+ Style/MethodDefParentheses:
316
+ Enabled: True
317
+
318
+ Style/LineEndConcatenation:
319
+ Enabled: True
320
+
321
+ Layout/TrailingWhitespace:
322
+ Enabled: True
323
+
324
+ Style/StringLiterals:
325
+ Enabled: True
326
+
327
+ Style/TrailingCommaInArguments:
328
+ Enabled: True
329
+
330
+ Style/TrailingCommaInLiteral:
331
+ Enabled: True
332
+
333
+ Style/GlobalVars:
334
+ Enabled: True
335
+
336
+ Style/GuardClause:
337
+ Enabled: True
338
+
339
+ Style/IfUnlessModifier:
340
+ Enabled: True
341
+
342
+ Style/MultilineIfThen:
343
+ Enabled: True
344
+
345
+ Style/NegatedIf:
346
+ Enabled: True
347
+
348
+ Style/NegatedWhile:
349
+ Enabled: True
350
+
351
+ Style/Next:
352
+ Enabled: True
353
+
354
+ Style/SingleLineBlockParams:
355
+ Enabled: True
356
+
357
+ Style/SingleLineMethods:
358
+ Enabled: True
359
+
360
+ Style/SpecialGlobalVars:
361
+ Enabled: True
362
+
363
+ Style/TrivialAccessors:
364
+ Enabled: True
365
+
366
+ Style/UnlessElse:
367
+ Enabled: True
368
+
369
+ Style/VariableInterpolation:
370
+ Enabled: True
371
+
372
+ Style/VariableName:
373
+ Enabled: True
374
+
375
+ Style/WhileUntilDo:
376
+ Enabled: True
377
+
378
+ Style/EvenOdd:
379
+ Enabled: True
380
+
381
+ Style/FileName:
382
+ Enabled: True
383
+
384
+ Style/For:
385
+ Enabled: True
386
+
387
+ Style/Lambda:
388
+ Enabled: True
389
+
390
+ Style/MethodName:
391
+ Enabled: True
392
+
393
+ Style/MultilineTernaryOperator:
394
+ Enabled: True
395
+
396
+ Style/NestedTernaryOperator:
397
+ Enabled: True
398
+
399
+ Style/NilComparison:
400
+ Enabled: True
401
+
402
+ Style/FormatString:
403
+ Enabled: True
404
+
405
+ Style/MultilineBlockChain:
406
+ Enabled: True
407
+
408
+ Style/Semicolon:
409
+ Enabled: True
410
+
411
+ Style/SignalException:
412
+ Enabled: True
413
+
414
+ Style/NonNilCheck:
415
+ Enabled: True
416
+
417
+ Style/Not:
418
+ Enabled: True
419
+
420
+ Style/NumericLiterals:
421
+ Enabled: True
422
+
423
+ Style/OneLineConditional:
424
+ Enabled: True
425
+
426
+ Style/OpMethod:
427
+ Enabled: True
428
+
429
+ Style/ParenthesesAroundCondition:
430
+ Enabled: True
431
+
432
+ Style/PercentLiteralDelimiters:
433
+ Enabled: True
434
+
435
+ Style/PerlBackrefs:
436
+ Enabled: True
437
+
438
+ Style/PredicateName:
439
+ Enabled: True
440
+
441
+ Style/RedundantException:
442
+ Enabled: True
443
+
444
+ Style/SelfAssignment:
445
+ Enabled: True
446
+
447
+ Style/Proc:
448
+ Enabled: True
449
+
450
+ Style/RaiseArgs:
451
+ Enabled: True
452
+
453
+ Style/RedundantBegin:
454
+ Enabled: True
455
+
456
+ Style/RescueModifier:
457
+ Enabled: True
458
+
459
+ # based on https://github.com/voxpupuli/modulesync_config/issues/168
460
+ Style/RegexpLiteral:
461
+ EnforcedStyle: percent_r
462
+ Enabled: True
463
+
464
+ Lint/UnderscorePrefixedVariableName:
465
+ Enabled: True
466
+
467
+ Metrics/ParameterLists:
468
+ Enabled: False
469
+
470
+ Lint/RequireParentheses:
471
+ Enabled: True
472
+
473
+ Style/ModuleFunction:
474
+ Enabled: True
475
+
476
+ Lint/Debugger:
477
+ Enabled: True
478
+
479
+ Style/IfWithSemicolon:
480
+ Enabled: True
481
+
482
+ Style/Encoding:
483
+ Enabled: True
484
+
485
+ Style/BlockDelimiters:
486
+ Enabled: True
487
+
488
+ Layout/MultilineBlockLayout:
489
+ Enabled: True
490
+
491
+ # 'Complexity' is very relative
492
+ Metrics/AbcSize:
493
+ Enabled: False
494
+
495
+ # 'Complexity' is very relative
496
+ Metrics/PerceivedComplexity:
497
+ Enabled: False
498
+
499
+ Lint/UselessAssignment:
500
+ Enabled: True
501
+
502
+ Layout/ClosingParenthesisIndentation:
503
+ Enabled: True
504
+
505
+ # RSpec
506
+
507
+ RSpec/BeforeAfterAll:
508
+ Exclude:
509
+ - spec/acceptance/**/*
510
+
511
+ # We don't use rspec in this way
512
+ RSpec/DescribeClass:
513
+ Enabled: False
514
+
515
+ # Example length is not necessarily an indicator of code quality
516
+ RSpec/ExampleLength:
517
+ Enabled: False
518
+
519
+ RSpec/NamedSubject:
520
+ Enabled: False
521
+
522
+ # disabled for now since they cause a lot of issues
523
+ # these issues aren't easy to fix
524
+ RSpec/RepeatedDescription:
525
+ Enabled: False
526
+
527
+ RSpec/NestedGroups:
528
+ Enabled: False
529
+
530
+ # this is broken on ruby1.9
531
+ Layout/IndentHeredoc:
532
+ Enabled: False
533
+
534
+ # disable Yaml safe_load. This is needed to support ruby2.0.0 development envs
535
+ Security/YAMLLoad:
536
+ Enabled: false
537
+
538
+ # This affects hiera interpolation, as well as some configs that we push.
539
+ Style/FormatStringToken:
540
+ Enabled: false
541
+
542
+ # This is useful, but sometimes a little too picky about where unit tests files
543
+ # are located.
544
+ RSpec/FilePath:
545
+ Enabled: false
@@ -0,0 +1,12 @@
1
+ ---
2
+ .travis.yml:
3
+ secure: "IkrfAnec7ovZLMvhvXt8ZihyYdAJTC/nm7KDm4u2G/uD2NGaMdHNOAenkwIwC1vfCzHKcgC5u/lAYFrYvHpQpJW0kHLKnk1SpndfWX9kd5SlDDzEP5mJGjMZeTY6H9sV5fsB6Pt7l/sw5ACL/0bFDl0mYBnVhGv6UxZZ5xMQIUw="
4
+ spec/spec_helper.rb:
5
+ spec_overrides: "require 'spec_helper_methods'"
6
+ .gitignore:
7
+ paths:
8
+ - spec/fixtures/tmpdir/
9
+ Rakefile:
10
+ puppet_strings_patterns:
11
+ - lib/puppet/functions/extlib/*.rb
12
+ - functions/*.pp
@@ -0,0 +1,47 @@
1
+ ---
2
+ dist: xenial
3
+ language: ruby
4
+ cache: bundler
5
+ before_install:
6
+ - gem update --system
7
+ - gem update bundler
8
+ - bundle --version
9
+ script:
10
+ - 'bundle exec rake $CHECK'
11
+ matrix:
12
+ fast_finish: true
13
+ include:
14
+ - rvm: 2.4.4
15
+ bundler_args: --without system_tests development release
16
+ env: PUPPET_VERSION="~> 5.0" CHECK=test
17
+ - rvm: 2.5.3
18
+ bundler_args: --without system_tests development release
19
+ env: PUPPET_VERSION="~> 6.0" CHECK=test_with_coveralls
20
+ - rvm: 2.5.3
21
+ bundler_args: --without system_tests development release
22
+ env: PUPPET_VERSION="~> 6.0" CHECK=rubocop
23
+ - rvm: 2.4.4
24
+ bundler_args: --without system_tests development release
25
+ env: PUPPET_VERSION="~> 5.0" CHECK=build DEPLOY_TO_FORGE=yes
26
+ branches:
27
+ only:
28
+ - master
29
+ - /^v\d/
30
+ notifications:
31
+ email: false
32
+ irc:
33
+ on_success: always
34
+ on_failure: always
35
+ channels:
36
+ - "chat.freenode.org#voxpupuli-notifications"
37
+ deploy:
38
+ provider: puppetforge
39
+ user: puppet
40
+ password:
41
+ secure: "IkrfAnec7ovZLMvhvXt8ZihyYdAJTC/nm7KDm4u2G/uD2NGaMdHNOAenkwIwC1vfCzHKcgC5u/lAYFrYvHpQpJW0kHLKnk1SpndfWX9kd5SlDDzEP5mJGjMZeTY6H9sV5fsB6Pt7l/sw5ACL/0bFDl0mYBnVhGv6UxZZ5xMQIUw="
42
+ on:
43
+ tags: true
44
+ # all_branches is required to use tags
45
+ all_branches: true
46
+ # Only publish the build marked with "DEPLOY_TO_FORGE"
47
+ condition: "$DEPLOY_TO_FORGE = yes"
@@ -0,0 +1,2 @@
1
+ --markup markdown
2
+ --output-dir docs/
@@ -0,0 +1,82 @@
1
+ source ENV['GEM_SOURCE'] || "https://rubygems.org"
2
+
3
+ def location_for(place, fake_version = nil)
4
+ if place =~ /^(git[:@][^#]*)#(.*)/
5
+ [fake_version, { :git => $1, :branch => $2, :require => false }].compact
6
+ elsif place =~ /^file:\/\/(.*)/
7
+ ['>= 0', { :path => File.expand_path($1), :require => false }]
8
+ else
9
+ [place, { :require => false }]
10
+ end
11
+ end
12
+
13
+ group :test do
14
+ gem 'puppetlabs_spec_helper', '>= 2.14.0', :require => false
15
+ gem 'rspec-puppet-facts', '>= 1.8.0', :require => false
16
+ gem 'rspec-puppet-utils', :require => false
17
+ gem 'puppet-lint-leading_zero-check', :require => false
18
+ gem 'puppet-lint-trailing_comma-check', :require => false
19
+ gem 'puppet-lint-version_comparison-check', :require => false
20
+ gem 'puppet-lint-classes_and_types_beginning_with_digits-check', :require => false
21
+ gem 'puppet-lint-unquoted_string-check', :require => false
22
+ gem 'puppet-lint-variable_contains_upcase', :require => false
23
+ gem 'puppet-lint-absolute_classname-check', :require => false
24
+ gem 'metadata-json-lint', :require => false
25
+ gem 'redcarpet', :require => false
26
+ gem 'rubocop', '~> 0.49.1', :require => false
27
+ gem 'rubocop-rspec', '~> 1.15.0', :require => false
28
+ gem 'mocha', '~> 1.4.0', :require => false
29
+ gem 'coveralls', :require => false
30
+ gem 'simplecov-console', :require => false
31
+ gem 'parallel_tests', :require => false
32
+ end
33
+
34
+ group :development do
35
+ gem 'travis', :require => false
36
+ gem 'travis-lint', :require => false
37
+ gem 'guard-rake', :require => false
38
+ gem 'overcommit', '>= 0.39.1', :require => false
39
+ end
40
+
41
+ group :system_tests do
42
+ gem 'winrm', :require => false
43
+ if beaker_version = ENV['BEAKER_VERSION']
44
+ gem 'beaker', *location_for(beaker_version)
45
+ else
46
+ gem 'beaker', '>= 4.2.0', :require => false
47
+ end
48
+ if beaker_rspec_version = ENV['BEAKER_RSPEC_VERSION']
49
+ gem 'beaker-rspec', *location_for(beaker_rspec_version)
50
+ else
51
+ gem 'beaker-rspec', :require => false
52
+ end
53
+ gem 'serverspec', :require => false
54
+ gem 'beaker-hostgenerator', '>= 1.1.22', :require => false
55
+ gem 'beaker-docker', :require => false
56
+ gem 'beaker-puppet', :require => false
57
+ gem 'beaker-puppet_install_helper', :require => false
58
+ gem 'beaker-module_install_helper', :require => false
59
+ gem 'rbnacl', '>= 4', :require => false
60
+ gem 'rbnacl-libsodium', :require => false
61
+ gem 'bcrypt_pbkdf', :require => false
62
+ end
63
+
64
+ group :release do
65
+ gem 'github_changelog_generator', :require => false, :git => 'https://github.com/github-changelog-generator/github-changelog-generator'
66
+ gem 'puppet-blacksmith', :require => false
67
+ gem 'voxpupuli-release', :require => false, :git => 'https://github.com/voxpupuli/voxpupuli-release-gem'
68
+ gem 'puppet-strings', '>= 2.2', :require => false
69
+ end
70
+
71
+
72
+
73
+ if facterversion = ENV['FACTER_GEM_VERSION']
74
+ gem 'facter', facterversion.to_s, :require => false, :groups => [:test]
75
+ else
76
+ gem 'facter', :require => false, :groups => [:test]
77
+ end
78
+
79
+ ENV['PUPPET_VERSION'].nil? ? puppetversion = '~> 6.0' : puppetversion = ENV['PUPPET_VERSION'].to_s
80
+ gem 'puppet', puppetversion, :require => false, :groups => [:test]
81
+
82
+ # vim: syntax=ruby