puppet 3.7.5-x64-mingw32 → 3.8.1-x64-mingw32

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

Potentially problematic release.


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

Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/ext/build_defaults.yaml +5 -5
  3. data/lib/hiera/puppet_function.rb +15 -4
  4. data/lib/puppet.rb +5 -2
  5. data/lib/puppet/application/agent.rb +5 -0
  6. data/lib/puppet/application/apply.rb +5 -0
  7. data/lib/puppet/application/device.rb +8 -3
  8. data/lib/puppet/application/master.rb +5 -0
  9. data/lib/puppet/defaults.rb +8 -0
  10. data/lib/puppet/error.rb +27 -1
  11. data/lib/puppet/file_system.rb +13 -0
  12. data/lib/puppet/file_system/file19windows.rb +8 -0
  13. data/lib/puppet/file_system/file_impl.rb +4 -0
  14. data/lib/puppet/file_system/memory_impl.rb +4 -0
  15. data/lib/puppet/functions.rb +25 -3
  16. data/lib/puppet/functions/defined.rb +130 -0
  17. data/lib/puppet/functions/hiera_include.rb +1 -1
  18. data/lib/puppet/node/environment.rb +4 -0
  19. data/lib/puppet/parser/compiler.rb +5 -2
  20. data/lib/puppet/parser/functions/defined.rb +26 -1
  21. data/lib/puppet/parser/functions/file.rb +3 -1
  22. data/lib/puppet/parser/templatewrapper.rb +2 -1
  23. data/lib/puppet/pops.rb +5 -0
  24. data/lib/puppet/pops/evaluator/access_operator.rb +25 -5
  25. data/lib/puppet/pops/evaluator/collector_transformer.rb +1 -11
  26. data/lib/puppet/pops/evaluator/compare_operator.rb +43 -0
  27. data/lib/puppet/pops/evaluator/evaluator_impl.rb +43 -28
  28. data/lib/puppet/pops/evaluator/runtime3_support.rb +9 -5
  29. data/lib/puppet/pops/functions/dispatch.rb +6 -1
  30. data/lib/puppet/pops/issue_reporter.rb +42 -16
  31. data/lib/puppet/pops/issues.rb +96 -0
  32. data/lib/puppet/pops/loader/module_loaders.rb +3 -1
  33. data/lib/puppet/pops/loaders.rb +6 -4
  34. data/lib/puppet/pops/migration/migration_checker.rb +45 -0
  35. data/lib/puppet/pops/model/factory.rb +1 -1
  36. data/lib/puppet/pops/model/model_meta.rb +1 -1
  37. data/lib/puppet/pops/parser/egrammar.ra +1 -1
  38. data/lib/puppet/pops/parser/eparser.rb +1 -1
  39. data/lib/puppet/pops/parser/epp_support.rb +18 -9
  40. data/lib/puppet/pops/parser/evaluating_parser.rb +7 -1
  41. data/lib/puppet/pops/parser/heredoc_support.rb +12 -11
  42. data/lib/puppet/pops/parser/interpolation_support.rb +7 -1
  43. data/lib/puppet/pops/parser/lexer2.rb +8 -8
  44. data/lib/puppet/pops/parser/lexer_support.rb +46 -20
  45. data/lib/puppet/pops/parser/parser_support.rb +11 -14
  46. data/lib/puppet/pops/parser/slurp_support.rb +22 -6
  47. data/lib/puppet/pops/types/type_calculator.rb +156 -55
  48. data/lib/puppet/pops/types/type_factory.rb +67 -14
  49. data/lib/puppet/pops/types/type_parser.rb +22 -13
  50. data/lib/puppet/pops/types/types.rb +21 -3
  51. data/lib/puppet/pops/types/types_meta.rb +13 -2
  52. data/lib/puppet/pops/validation.rb +25 -2
  53. data/lib/puppet/pops/validation/checker4_0.rb +25 -5
  54. data/lib/puppet/provider/group/windows_adsi.rb +18 -6
  55. data/lib/puppet/provider/mount/parsed.rb +145 -2
  56. data/lib/puppet/provider/package/pip.rb +4 -5
  57. data/lib/puppet/provider/package/zypper.rb +17 -7
  58. data/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +35 -10
  59. data/lib/puppet/provider/service/init.rb +7 -0
  60. data/lib/puppet/provider/user/windows_adsi.rb +8 -1
  61. data/lib/puppet/provider/zpool/zpool.rb +7 -2
  62. data/lib/puppet/resource.rb +1 -1
  63. data/lib/puppet/type/group.rb +1 -1
  64. data/lib/puppet/type/mount.rb +14 -3
  65. data/lib/puppet/type/scheduled_task.rb +21 -6
  66. data/lib/puppet/util/log.rb +50 -8
  67. data/lib/puppet/util/log/destinations.rb +23 -2
  68. data/lib/puppet/util/logging.rb +37 -1
  69. data/lib/puppet/util/windows/adsi.rb +36 -11
  70. data/lib/puppet/version.rb +1 -1
  71. data/spec/fixtures/unit/provider/mount/parsed/aix.filesystems +93 -85
  72. data/spec/fixtures/unit/provider/mount/parsed/aix.mount +11 -7
  73. data/spec/integration/parser/collector_spec.rb +7 -0
  74. data/spec/integration/parser/future_compiler_spec.rb +9 -0
  75. data/spec/integration/parser/resource_expressions_spec.rb +3 -0
  76. data/spec/unit/file_system_spec.rb +38 -0
  77. data/spec/unit/functions/defined_spec.rb +291 -0
  78. data/spec/unit/functions/hiera_spec.rb +8 -6
  79. data/spec/unit/functions4_spec.rb +97 -2
  80. data/spec/unit/parser/functions/file_spec.rb +8 -2
  81. data/spec/unit/parser/functions/template_spec.rb +1 -1
  82. data/spec/unit/parser/templatewrapper_spec.rb +1 -1
  83. data/spec/unit/pops/evaluator/access_ops_spec.rb +19 -0
  84. data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +61 -8
  85. data/spec/unit/pops/issues_spec.rb +16 -16
  86. data/spec/unit/pops/loaders/module_loaders_spec.rb +5 -0
  87. data/spec/unit/pops/migration_spec.rb +180 -0
  88. data/spec/unit/pops/parser/lexer2_spec.rb +152 -1
  89. data/spec/unit/pops/parser/parse_heredoc_spec.rb +26 -0
  90. data/spec/unit/pops/transformer/transform_calls_spec.rb +1 -1
  91. data/spec/unit/pops/types/type_calculator_spec.rb +204 -11
  92. data/spec/unit/pops/validation_spec.rb +66 -0
  93. data/spec/unit/provider/group/windows_adsi_spec.rb +65 -1
  94. data/spec/unit/provider/mount/parsed_spec.rb +31 -5
  95. data/spec/unit/provider/package/pip_spec.rb +19 -7
  96. data/spec/unit/provider/package/zypper_spec.rb +25 -14
  97. data/spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb +312 -70
  98. data/spec/unit/provider/service/base_spec.rb +42 -31
  99. data/spec/unit/provider/service/freebsd_spec.rb +1 -0
  100. data/spec/unit/provider/service/gentoo_spec.rb +1 -0
  101. data/spec/unit/provider/service/init_spec.rb +18 -0
  102. data/spec/unit/provider/service/openbsd_spec.rb +1 -0
  103. data/spec/unit/provider/service/redhat_spec.rb +1 -0
  104. data/spec/unit/provider/user/windows_adsi_spec.rb +21 -0
  105. data/spec/unit/provider/zpool/zpool_spec.rb +47 -10
  106. data/spec/unit/util/log_spec.rb +113 -0
  107. data/spec/unit/util/windows/adsi_spec.rb +106 -26
  108. metadata +10 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.5
4
+ version: 3.8.1
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-25 00:00:00.000000000 Z
11
+ date: 2015-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter
@@ -344,6 +344,7 @@ files:
344
344
  - lib/puppet/forge/repository.rb
345
345
  - lib/puppet/functions.rb
346
346
  - lib/puppet/functions/assert_type.rb
347
+ - lib/puppet/functions/defined.rb
347
348
  - lib/puppet/functions/each.rb
348
349
  - lib/puppet/functions/epp.rb
349
350
  - lib/puppet/functions/filter.rb
@@ -741,6 +742,7 @@ files:
741
742
  - lib/puppet/pops/loader/static_loader.rb
742
743
  - lib/puppet/pops/loader/uri_helper.rb
743
744
  - lib/puppet/pops/loaders.rb
745
+ - lib/puppet/pops/migration/migration_checker.rb
744
746
  - lib/puppet/pops/model/ast_transformer.rb
745
747
  - lib/puppet/pops/model/ast_tree_dumper.rb
746
748
  - lib/puppet/pops/model/factory.rb
@@ -2057,6 +2059,7 @@ files:
2057
2059
  - spec/unit/forge/repository_spec.rb
2058
2060
  - spec/unit/forge_spec.rb
2059
2061
  - spec/unit/functions/assert_type_spec.rb
2062
+ - spec/unit/functions/defined_spec.rb
2060
2063
  - spec/unit/functions/each_spec.rb
2061
2064
  - spec/unit/functions/epp_spec.rb
2062
2065
  - spec/unit/functions/filter_spec.rb
@@ -2343,6 +2346,7 @@ files:
2343
2346
  - spec/unit/pops/loaders/loaders_spec.rb
2344
2347
  - spec/unit/pops/loaders/module_loaders_spec.rb
2345
2348
  - spec/unit/pops/loaders/static_loader_spec.rb
2349
+ - spec/unit/pops/migration_spec.rb
2346
2350
  - spec/unit/pops/model/ast_transformer_spec.rb
2347
2351
  - spec/unit/pops/model/model_spec.rb
2348
2352
  - spec/unit/pops/parser/epp_parser_spec.rb
@@ -2368,6 +2372,7 @@ files:
2368
2372
  - spec/unit/pops/types/type_factory_spec.rb
2369
2373
  - spec/unit/pops/types/type_parser_spec.rb
2370
2374
  - spec/unit/pops/utils_spec.rb
2375
+ - spec/unit/pops/validation_spec.rb
2371
2376
  - spec/unit/pops/validator/validator_spec.rb
2372
2377
  - spec/unit/pops/visitor_spec.rb
2373
2378
  - spec/unit/property/boolean_spec.rb
@@ -3149,6 +3154,7 @@ test_files:
3149
3154
  - spec/unit/forge/repository_spec.rb
3150
3155
  - spec/unit/forge_spec.rb
3151
3156
  - spec/unit/functions/assert_type_spec.rb
3157
+ - spec/unit/functions/defined_spec.rb
3152
3158
  - spec/unit/functions/each_spec.rb
3153
3159
  - spec/unit/functions/epp_spec.rb
3154
3160
  - spec/unit/functions/filter_spec.rb
@@ -3435,6 +3441,7 @@ test_files:
3435
3441
  - spec/unit/pops/loaders/loaders_spec.rb
3436
3442
  - spec/unit/pops/loaders/module_loaders_spec.rb
3437
3443
  - spec/unit/pops/loaders/static_loader_spec.rb
3444
+ - spec/unit/pops/migration_spec.rb
3438
3445
  - spec/unit/pops/model/ast_transformer_spec.rb
3439
3446
  - spec/unit/pops/model/model_spec.rb
3440
3447
  - spec/unit/pops/parser/epp_parser_spec.rb
@@ -3460,6 +3467,7 @@ test_files:
3460
3467
  - spec/unit/pops/types/type_factory_spec.rb
3461
3468
  - spec/unit/pops/types/type_parser_spec.rb
3462
3469
  - spec/unit/pops/utils_spec.rb
3470
+ - spec/unit/pops/validation_spec.rb
3463
3471
  - spec/unit/pops/validator/validator_spec.rb
3464
3472
  - spec/unit/pops/visitor_spec.rb
3465
3473
  - spec/unit/property/boolean_spec.rb