puppet 3.7.5 → 3.8.1
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.
- checksums.yaml +4 -4
- data/ext/build_defaults.yaml +5 -5
- data/lib/hiera/puppet_function.rb +15 -4
- data/lib/puppet.rb +5 -2
- data/lib/puppet/application/agent.rb +5 -0
- data/lib/puppet/application/apply.rb +5 -0
- data/lib/puppet/application/device.rb +8 -3
- data/lib/puppet/application/master.rb +5 -0
- data/lib/puppet/defaults.rb +8 -0
- data/lib/puppet/error.rb +27 -1
- data/lib/puppet/file_system.rb +13 -0
- data/lib/puppet/file_system/file19windows.rb +8 -0
- data/lib/puppet/file_system/file_impl.rb +4 -0
- data/lib/puppet/file_system/memory_impl.rb +4 -0
- data/lib/puppet/functions.rb +25 -3
- data/lib/puppet/functions/defined.rb +130 -0
- data/lib/puppet/functions/hiera_include.rb +1 -1
- data/lib/puppet/node/environment.rb +4 -0
- data/lib/puppet/parser/compiler.rb +5 -2
- data/lib/puppet/parser/functions/defined.rb +26 -1
- data/lib/puppet/parser/functions/file.rb +3 -1
- data/lib/puppet/parser/templatewrapper.rb +2 -1
- data/lib/puppet/pops.rb +5 -0
- data/lib/puppet/pops/evaluator/access_operator.rb +25 -5
- data/lib/puppet/pops/evaluator/collector_transformer.rb +1 -11
- data/lib/puppet/pops/evaluator/compare_operator.rb +43 -0
- data/lib/puppet/pops/evaluator/evaluator_impl.rb +43 -28
- data/lib/puppet/pops/evaluator/runtime3_support.rb +9 -5
- data/lib/puppet/pops/functions/dispatch.rb +6 -1
- data/lib/puppet/pops/issue_reporter.rb +42 -16
- data/lib/puppet/pops/issues.rb +96 -0
- data/lib/puppet/pops/loader/module_loaders.rb +3 -1
- data/lib/puppet/pops/loaders.rb +6 -4
- data/lib/puppet/pops/migration/migration_checker.rb +45 -0
- data/lib/puppet/pops/model/factory.rb +1 -1
- data/lib/puppet/pops/model/model_meta.rb +1 -1
- data/lib/puppet/pops/parser/egrammar.ra +1 -1
- data/lib/puppet/pops/parser/eparser.rb +1 -1
- data/lib/puppet/pops/parser/epp_support.rb +18 -9
- data/lib/puppet/pops/parser/evaluating_parser.rb +7 -1
- data/lib/puppet/pops/parser/heredoc_support.rb +12 -11
- data/lib/puppet/pops/parser/interpolation_support.rb +7 -1
- data/lib/puppet/pops/parser/lexer2.rb +8 -8
- data/lib/puppet/pops/parser/lexer_support.rb +46 -20
- data/lib/puppet/pops/parser/parser_support.rb +11 -14
- data/lib/puppet/pops/parser/slurp_support.rb +22 -6
- data/lib/puppet/pops/types/type_calculator.rb +156 -55
- data/lib/puppet/pops/types/type_factory.rb +67 -14
- data/lib/puppet/pops/types/type_parser.rb +22 -13
- data/lib/puppet/pops/types/types.rb +21 -3
- data/lib/puppet/pops/types/types_meta.rb +13 -2
- data/lib/puppet/pops/validation.rb +25 -2
- data/lib/puppet/pops/validation/checker4_0.rb +25 -5
- data/lib/puppet/provider/group/windows_adsi.rb +18 -6
- data/lib/puppet/provider/mount/parsed.rb +145 -2
- data/lib/puppet/provider/package/pip.rb +4 -5
- data/lib/puppet/provider/package/zypper.rb +17 -7
- data/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +35 -10
- data/lib/puppet/provider/service/init.rb +7 -0
- data/lib/puppet/provider/user/windows_adsi.rb +8 -1
- data/lib/puppet/provider/zpool/zpool.rb +7 -2
- data/lib/puppet/resource.rb +1 -1
- data/lib/puppet/type/group.rb +1 -1
- data/lib/puppet/type/mount.rb +14 -3
- data/lib/puppet/type/scheduled_task.rb +21 -6
- data/lib/puppet/util/log.rb +50 -8
- data/lib/puppet/util/log/destinations.rb +23 -2
- data/lib/puppet/util/logging.rb +37 -1
- data/lib/puppet/util/windows/adsi.rb +36 -11
- data/lib/puppet/version.rb +1 -1
- data/spec/fixtures/unit/provider/mount/parsed/aix.filesystems +93 -85
- data/spec/fixtures/unit/provider/mount/parsed/aix.mount +11 -7
- data/spec/integration/parser/collector_spec.rb +7 -0
- data/spec/integration/parser/future_compiler_spec.rb +9 -0
- data/spec/integration/parser/resource_expressions_spec.rb +3 -0
- data/spec/unit/file_system_spec.rb +38 -0
- data/spec/unit/functions/defined_spec.rb +291 -0
- data/spec/unit/functions/hiera_spec.rb +8 -6
- data/spec/unit/functions4_spec.rb +97 -2
- data/spec/unit/parser/functions/file_spec.rb +8 -2
- data/spec/unit/parser/functions/template_spec.rb +1 -1
- data/spec/unit/parser/templatewrapper_spec.rb +1 -1
- data/spec/unit/pops/evaluator/access_ops_spec.rb +19 -0
- data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +61 -8
- data/spec/unit/pops/issues_spec.rb +16 -16
- data/spec/unit/pops/loaders/module_loaders_spec.rb +5 -0
- data/spec/unit/pops/migration_spec.rb +180 -0
- data/spec/unit/pops/parser/lexer2_spec.rb +152 -1
- data/spec/unit/pops/parser/parse_heredoc_spec.rb +26 -0
- data/spec/unit/pops/transformer/transform_calls_spec.rb +1 -1
- data/spec/unit/pops/types/type_calculator_spec.rb +204 -11
- data/spec/unit/pops/validation_spec.rb +66 -0
- data/spec/unit/provider/group/windows_adsi_spec.rb +65 -1
- data/spec/unit/provider/mount/parsed_spec.rb +31 -5
- data/spec/unit/provider/package/pip_spec.rb +19 -7
- data/spec/unit/provider/package/zypper_spec.rb +25 -14
- data/spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb +312 -70
- data/spec/unit/provider/service/base_spec.rb +42 -31
- data/spec/unit/provider/service/freebsd_spec.rb +1 -0
- data/spec/unit/provider/service/gentoo_spec.rb +1 -0
- data/spec/unit/provider/service/init_spec.rb +18 -0
- data/spec/unit/provider/service/openbsd_spec.rb +1 -0
- data/spec/unit/provider/service/redhat_spec.rb +1 -0
- data/spec/unit/provider/user/windows_adsi_spec.rb +21 -0
- data/spec/unit/provider/zpool/zpool_spec.rb +47 -10
- data/spec/unit/util/log_spec.rb +113 -0
- data/spec/unit/util/windows/adsi_spec.rb +106 -26
- 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.
|
4
|
+
version: 3.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: facter
|
@@ -246,6 +246,7 @@ files:
|
|
246
246
|
- lib/puppet/forge/repository.rb
|
247
247
|
- lib/puppet/functions.rb
|
248
248
|
- lib/puppet/functions/assert_type.rb
|
249
|
+
- lib/puppet/functions/defined.rb
|
249
250
|
- lib/puppet/functions/each.rb
|
250
251
|
- lib/puppet/functions/epp.rb
|
251
252
|
- lib/puppet/functions/filter.rb
|
@@ -643,6 +644,7 @@ files:
|
|
643
644
|
- lib/puppet/pops/loader/static_loader.rb
|
644
645
|
- lib/puppet/pops/loader/uri_helper.rb
|
645
646
|
- lib/puppet/pops/loaders.rb
|
647
|
+
- lib/puppet/pops/migration/migration_checker.rb
|
646
648
|
- lib/puppet/pops/model/ast_transformer.rb
|
647
649
|
- lib/puppet/pops/model/ast_tree_dumper.rb
|
648
650
|
- lib/puppet/pops/model/factory.rb
|
@@ -1959,6 +1961,7 @@ files:
|
|
1959
1961
|
- spec/unit/forge/repository_spec.rb
|
1960
1962
|
- spec/unit/forge_spec.rb
|
1961
1963
|
- spec/unit/functions/assert_type_spec.rb
|
1964
|
+
- spec/unit/functions/defined_spec.rb
|
1962
1965
|
- spec/unit/functions/each_spec.rb
|
1963
1966
|
- spec/unit/functions/epp_spec.rb
|
1964
1967
|
- spec/unit/functions/filter_spec.rb
|
@@ -2245,6 +2248,7 @@ files:
|
|
2245
2248
|
- spec/unit/pops/loaders/loaders_spec.rb
|
2246
2249
|
- spec/unit/pops/loaders/module_loaders_spec.rb
|
2247
2250
|
- spec/unit/pops/loaders/static_loader_spec.rb
|
2251
|
+
- spec/unit/pops/migration_spec.rb
|
2248
2252
|
- spec/unit/pops/model/ast_transformer_spec.rb
|
2249
2253
|
- spec/unit/pops/model/model_spec.rb
|
2250
2254
|
- spec/unit/pops/parser/epp_parser_spec.rb
|
@@ -2270,6 +2274,7 @@ files:
|
|
2270
2274
|
- spec/unit/pops/types/type_factory_spec.rb
|
2271
2275
|
- spec/unit/pops/types/type_parser_spec.rb
|
2272
2276
|
- spec/unit/pops/utils_spec.rb
|
2277
|
+
- spec/unit/pops/validation_spec.rb
|
2273
2278
|
- spec/unit/pops/validator/validator_spec.rb
|
2274
2279
|
- spec/unit/pops/visitor_spec.rb
|
2275
2280
|
- spec/unit/property/boolean_spec.rb
|
@@ -3051,6 +3056,7 @@ test_files:
|
|
3051
3056
|
- spec/unit/forge/repository_spec.rb
|
3052
3057
|
- spec/unit/forge_spec.rb
|
3053
3058
|
- spec/unit/functions/assert_type_spec.rb
|
3059
|
+
- spec/unit/functions/defined_spec.rb
|
3054
3060
|
- spec/unit/functions/each_spec.rb
|
3055
3061
|
- spec/unit/functions/epp_spec.rb
|
3056
3062
|
- spec/unit/functions/filter_spec.rb
|
@@ -3337,6 +3343,7 @@ test_files:
|
|
3337
3343
|
- spec/unit/pops/loaders/loaders_spec.rb
|
3338
3344
|
- spec/unit/pops/loaders/module_loaders_spec.rb
|
3339
3345
|
- spec/unit/pops/loaders/static_loader_spec.rb
|
3346
|
+
- spec/unit/pops/migration_spec.rb
|
3340
3347
|
- spec/unit/pops/model/ast_transformer_spec.rb
|
3341
3348
|
- spec/unit/pops/model/model_spec.rb
|
3342
3349
|
- spec/unit/pops/parser/epp_parser_spec.rb
|
@@ -3362,6 +3369,7 @@ test_files:
|
|
3362
3369
|
- spec/unit/pops/types/type_factory_spec.rb
|
3363
3370
|
- spec/unit/pops/types/type_parser_spec.rb
|
3364
3371
|
- spec/unit/pops/utils_spec.rb
|
3372
|
+
- spec/unit/pops/validation_spec.rb
|
3365
3373
|
- spec/unit/pops/validator/validator_spec.rb
|
3366
3374
|
- spec/unit/pops/visitor_spec.rb
|
3367
3375
|
- spec/unit/property/boolean_spec.rb
|