puppet 6.2.0-universal-darwin → 6.3.0-universal-darwin

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 (90) hide show
  1. checksums.yaml +4 -4
  2. data/CODE_OF_CONDUCT.md +70 -0
  3. data/Gemfile.lock +7 -7
  4. data/lib/puppet/application.rb +1 -1
  5. data/lib/puppet/application/lookup.rb +1 -1
  6. data/lib/puppet/confine/boolean.rb +45 -0
  7. data/lib/puppet/confine/false.rb +7 -1
  8. data/lib/puppet/confine/true.rb +7 -1
  9. data/lib/puppet/defaults.rb +0 -18
  10. data/lib/puppet/functions/call.rb +2 -1
  11. data/lib/puppet/functions/group_by.rb +54 -0
  12. data/lib/puppet/functions/index.rb +167 -0
  13. data/lib/puppet/functions/partition.rb +54 -0
  14. data/lib/puppet/pops/evaluator/evaluator_impl.rb +1 -1
  15. data/lib/puppet/pops/issues.rb +4 -0
  16. data/lib/puppet/pops/model/factory.rb +38 -4
  17. data/lib/puppet/pops/parser/egrammar.ra +2 -2
  18. data/lib/puppet/pops/parser/eparser.rb +2 -2
  19. data/lib/puppet/pops/parser/heredoc_support.rb +17 -7
  20. data/lib/puppet/pops/parser/lexer2.rb +6 -1
  21. data/lib/puppet/pops/parser/locator.rb +106 -86
  22. data/lib/puppet/pops/parser/parser_support.rb +11 -2
  23. data/lib/puppet/pops/types/type_mismatch_describer.rb +1 -1
  24. data/lib/puppet/pops/validation/checker4_0.rb +2 -2
  25. data/lib/puppet/provider/group/windows_adsi.rb +4 -1
  26. data/lib/puppet/provider/package/apt.rb +2 -2
  27. data/lib/puppet/provider/package/dnf.rb +2 -2
  28. data/lib/puppet/provider/package/gem.rb +2 -2
  29. data/lib/puppet/provider/package/openbsd.rb +2 -2
  30. data/lib/puppet/provider/package/pacman.rb +1 -2
  31. data/lib/puppet/provider/package/pip.rb +1 -2
  32. data/lib/puppet/provider/package/pip3.rb +1 -2
  33. data/lib/puppet/provider/package/pkg.rb +2 -4
  34. data/lib/puppet/provider/package/portage.rb +1 -2
  35. data/lib/puppet/provider/package/rpm.rb +1 -2
  36. data/lib/puppet/provider/package/sun.rb +2 -2
  37. data/lib/puppet/provider/package/windows.rb +2 -2
  38. data/lib/puppet/provider/package/yum.rb +1 -2
  39. data/lib/puppet/provider/package/zypper.rb +2 -2
  40. data/lib/puppet/provider/service/upstart.rb +16 -6
  41. data/lib/puppet/transaction/resource_harness.rb +1 -0
  42. data/lib/puppet/type/file.rb +6 -1
  43. data/lib/puppet/util/log.rb +7 -2
  44. data/lib/puppet/util/pidlock.rb +14 -1
  45. data/lib/puppet/util/windows/process.rb +73 -5
  46. data/lib/puppet/version.rb +1 -1
  47. data/locales/puppet.pot +92 -92
  48. data/man/man5/puppet.conf.5 +2 -2
  49. data/man/man8/puppet-agent.8 +1 -1
  50. data/man/man8/puppet-apply.8 +1 -1
  51. data/man/man8/puppet-catalog.8 +1 -1
  52. data/man/man8/puppet-config.8 +1 -1
  53. data/man/man8/puppet-describe.8 +1 -1
  54. data/man/man8/puppet-device.8 +1 -1
  55. data/man/man8/puppet-doc.8 +1 -1
  56. data/man/man8/puppet-epp.8 +1 -1
  57. data/man/man8/puppet-facts.8 +1 -1
  58. data/man/man8/puppet-filebucket.8 +1 -1
  59. data/man/man8/puppet-generate.8 +1 -1
  60. data/man/man8/puppet-help.8 +1 -1
  61. data/man/man8/puppet-key.8 +1 -1
  62. data/man/man8/puppet-lookup.8 +2 -2
  63. data/man/man8/puppet-man.8 +1 -1
  64. data/man/man8/puppet-module.8 +1 -1
  65. data/man/man8/puppet-node.8 +1 -1
  66. data/man/man8/puppet-parser.8 +1 -1
  67. data/man/man8/puppet-plugin.8 +1 -1
  68. data/man/man8/puppet-report.8 +1 -1
  69. data/man/man8/puppet-resource.8 +1 -1
  70. data/man/man8/puppet-script.8 +1 -1
  71. data/man/man8/puppet-ssl.8 +1 -1
  72. data/man/man8/puppet-status.8 +1 -1
  73. data/man/man8/puppet.8 +2 -2
  74. data/spec/unit/application_spec.rb +8 -1
  75. data/spec/unit/confine/false_spec.rb +27 -0
  76. data/spec/unit/confine/true_spec.rb +27 -0
  77. data/spec/unit/defaults_spec.rb +0 -14
  78. data/spec/unit/functions/group_by_spec.rb +40 -0
  79. data/spec/unit/functions/index_spec.rb +184 -0
  80. data/spec/unit/functions/partition_spec.rb +40 -0
  81. data/spec/unit/pops/loaders/loaders_spec.rb +5 -0
  82. data/spec/unit/pops/parser/locator_spec.rb +45 -0
  83. data/spec/unit/pops/parser/parse_heredoc_spec.rb +111 -15
  84. data/spec/unit/pops/types/type_mismatch_describer_spec.rb +9 -0
  85. data/spec/unit/provider/group/windows_adsi_spec.rb +7 -1
  86. data/spec/unit/transaction/resource_harness_spec.rb +26 -0
  87. data/spec/unit/util/execution_spec.rb +2 -2
  88. data/spec/unit/util/log_spec.rb +15 -0
  89. data/spec/unit/util/pidlock_spec.rb +21 -1
  90. metadata +13 -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: 6.2.0
4
+ version: 6.3.0
5
5
  platform: universal-darwin
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-24 00:00:00.000000000 Z
11
+ date: 2019-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter
@@ -155,6 +155,7 @@ executables:
155
155
  extensions: []
156
156
  extra_rdoc_files: []
157
157
  files:
158
+ - CODE_OF_CONDUCT.md
158
159
  - COMMITTERS.md
159
160
  - CONTRIBUTING.md
160
161
  - Gemfile
@@ -345,6 +346,7 @@ files:
345
346
  - lib/puppet/configurer/plugin_handler.rb
346
347
  - lib/puppet/confine.rb
347
348
  - lib/puppet/confine/any.rb
349
+ - lib/puppet/confine/boolean.rb
348
350
  - lib/puppet/confine/exists.rb
349
351
  - lib/puppet/confine/false.rb
350
352
  - lib/puppet/confine/feature.rb
@@ -479,6 +481,7 @@ files:
479
481
  - lib/puppet/functions/floor.rb
480
482
  - lib/puppet/functions/get.rb
481
483
  - lib/puppet/functions/getvar.rb
484
+ - lib/puppet/functions/group_by.rb
482
485
  - lib/puppet/functions/hiera.rb
483
486
  - lib/puppet/functions/hiera_array.rb
484
487
  - lib/puppet/functions/hiera_hash.rb
@@ -486,6 +489,7 @@ files:
486
489
  - lib/puppet/functions/hocon_data.rb
487
490
  - lib/puppet/functions/import.rb
488
491
  - lib/puppet/functions/include.rb
492
+ - lib/puppet/functions/index.rb
489
493
  - lib/puppet/functions/info.rb
490
494
  - lib/puppet/functions/inline_epp.rb
491
495
  - lib/puppet/functions/join.rb
@@ -503,6 +507,7 @@ files:
503
507
  - lib/puppet/functions/new.rb
504
508
  - lib/puppet/functions/next.rb
505
509
  - lib/puppet/functions/notice.rb
510
+ - lib/puppet/functions/partition.rb
506
511
  - lib/puppet/functions/reduce.rb
507
512
  - lib/puppet/functions/regsubst.rb
508
513
  - lib/puppet/functions/require.rb
@@ -1952,8 +1957,10 @@ files:
1952
1957
  - spec/unit/functions/floor_spec.rb
1953
1958
  - spec/unit/functions/get_spec.rb
1954
1959
  - spec/unit/functions/getvar_spec.rb
1960
+ - spec/unit/functions/group_by_spec.rb
1955
1961
  - spec/unit/functions/hiera_spec.rb
1956
1962
  - spec/unit/functions/include_spec.rb
1963
+ - spec/unit/functions/index_spec.rb
1957
1964
  - spec/unit/functions/inline_epp_spec.rb
1958
1965
  - spec/unit/functions/join_spec.rb
1959
1966
  - spec/unit/functions/keys_spec.rb
@@ -1970,6 +1977,7 @@ files:
1970
1977
  - spec/unit/functions/module_directory_spec.rb
1971
1978
  - spec/unit/functions/new_spec.rb
1972
1979
  - spec/unit/functions/next_spec.rb
1980
+ - spec/unit/functions/partition_spec.rb
1973
1981
  - spec/unit/functions/reduce_spec.rb
1974
1982
  - spec/unit/functions/regsubst_spec.rb
1975
1983
  - spec/unit/functions/require_spec.rb
@@ -3155,8 +3163,10 @@ test_files:
3155
3163
  - spec/unit/functions/floor_spec.rb
3156
3164
  - spec/unit/functions/get_spec.rb
3157
3165
  - spec/unit/functions/getvar_spec.rb
3166
+ - spec/unit/functions/group_by_spec.rb
3158
3167
  - spec/unit/functions/hiera_spec.rb
3159
3168
  - spec/unit/functions/include_spec.rb
3169
+ - spec/unit/functions/index_spec.rb
3160
3170
  - spec/unit/functions/inline_epp_spec.rb
3161
3171
  - spec/unit/functions/join_spec.rb
3162
3172
  - spec/unit/functions/keys_spec.rb
@@ -3173,6 +3183,7 @@ test_files:
3173
3183
  - spec/unit/functions/module_directory_spec.rb
3174
3184
  - spec/unit/functions/new_spec.rb
3175
3185
  - spec/unit/functions/next_spec.rb
3186
+ - spec/unit/functions/partition_spec.rb
3176
3187
  - spec/unit/functions/reduce_spec.rb
3177
3188
  - spec/unit/functions/regsubst_spec.rb
3178
3189
  - spec/unit/functions/require_spec.rb