puppet 3.7.3-x86-mingw32 → 3.7.4-x86-mingw32
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.
Potentially problematic release.
This version of puppet might be problematic. Click here for more details.
- data/Gemfile +4 -0
- data/ext/build_defaults.yaml +2 -2
- data/ext/project_data.yaml +2 -2
- data/lib/puppet.rb +1 -1
- data/lib/puppet/configurer.rb +7 -4
- data/lib/puppet/environments.rb +68 -51
- data/lib/puppet/functions/scanf.rb +46 -0
- data/lib/puppet/network/http/webrick/rest.rb +3 -0
- data/lib/puppet/parser/ast/pops_bridge.rb +2 -1
- data/lib/puppet/parser/compiler.rb +11 -3
- data/lib/puppet/parser/functions/realize.rb +7 -2
- data/lib/puppet/parser/functions/scanf.rb +35 -0
- data/lib/puppet/parser/relationship.rb +21 -6
- data/lib/puppet/parser/resource.rb +11 -4
- data/lib/puppet/pops.rb +7 -0
- data/lib/puppet/pops/evaluator/access_operator.rb +1 -6
- data/lib/puppet/pops/evaluator/collector_transformer.rb +219 -0
- data/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +86 -0
- data/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +25 -0
- data/lib/puppet/pops/evaluator/collectors/exported_collector.rb +66 -0
- data/lib/puppet/pops/evaluator/collectors/fixed_set_collector.rb +37 -0
- data/lib/puppet/pops/evaluator/compare_operator.rb +8 -28
- data/lib/puppet/pops/evaluator/evaluator_impl.rb +4 -18
- data/lib/puppet/pops/evaluator/relationship_operator.rb +4 -0
- data/lib/puppet/pops/evaluator/runtime3_support.rb +2 -2
- data/lib/puppet/pops/parser/egrammar.ra +3 -3
- data/lib/puppet/pops/parser/eparser.rb +3 -3
- data/lib/puppet/pops/parser/evaluating_parser.rb +4 -0
- data/lib/puppet/pops/types/type_calculator.rb +19 -8
- data/lib/puppet/pops/types/type_parser.rb +1 -4
- data/lib/puppet/provider/service/redhat.rb +6 -3
- data/lib/puppet/resource/catalog.rb +12 -1
- data/lib/puppet/settings/environment_conf.rb +7 -8
- data/lib/puppet/type/cron.rb +5 -1
- data/lib/puppet/type/file/content.rb +1 -1
- data/lib/puppet/util/tagging.rb +21 -2
- data/lib/puppet/version.rb +1 -1
- data/spec/integration/indirector/catalog/compiler_spec.rb +11 -0
- data/spec/integration/parser/collector_spec.rb +41 -0
- data/spec/integration/parser/compiler_spec.rb +16 -0
- data/spec/integration/parser/future_compiler_spec.rb +1 -1
- data/spec/unit/environments_spec.rb +238 -118
- data/spec/unit/functions/scanf_spec.rb +36 -0
- data/spec/unit/network/http/rack/rest_spec.rb +11 -8
- data/spec/unit/network/http/webrick/rest_spec.rb +19 -0
- data/spec/unit/parser/compiler_spec.rb +0 -27
- data/spec/unit/pops/evaluator/access_ops_spec.rb +9 -9
- data/spec/unit/pops/evaluator/comparison_ops_spec.rb +14 -8
- data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +20 -8
- data/spec/unit/pops/parser/parse_basic_expressions_spec.rb +10 -0
- data/spec/unit/pops/parser/parse_heredoc_spec.rb +30 -0
- data/spec/unit/pops/types/type_calculator_spec.rb +18 -0
- data/spec/unit/pops/types/type_parser_spec.rb +2 -2
- data/spec/unit/provider/service/redhat_spec.rb +2 -1
- data/spec/unit/type/cron_spec.rb +24 -24
- data/spec/unit/util/tagging_spec.rb +7 -0
- metadata +15 -6
@@ -88,6 +88,13 @@ describe Puppet::Util::Tagging do
|
|
88
88
|
expect(tagger).to be_tagged("goodbye")
|
89
89
|
end
|
90
90
|
|
91
|
+
it "downcases tag arguments" do
|
92
|
+
tagger.tag("hello")
|
93
|
+
tagger.tag("goodbye")
|
94
|
+
expect(tagger).to be_tagged(:HEllO)
|
95
|
+
expect(tagger).to be_tagged("GooDByE")
|
96
|
+
end
|
97
|
+
|
91
98
|
it "accepts hyphenated tags" do
|
92
99
|
tagger.tag("my-tag")
|
93
100
|
expect(tagger).to be_tagged("my-tag")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.4
|
5
5
|
prerelease:
|
6
6
|
platform: x86-mingw32
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-01-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: facter
|
@@ -70,17 +70,17 @@ dependencies:
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
71
71
|
none: false
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.9.
|
75
|
+
version: 1.9.5
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
none: false
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ~>
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 1.9.
|
83
|
+
version: 1.9.5
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: win32-dir
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1015,6 +1015,7 @@ files:
|
|
1015
1015
|
- lib/puppet/parser/functions/reduce.rb
|
1016
1016
|
- lib/puppet/parser/functions/shellquote.rb
|
1017
1017
|
- lib/puppet/parser/functions/sprintf.rb
|
1018
|
+
- lib/puppet/parser/functions/scanf.rb
|
1018
1019
|
- lib/puppet/parser/functions/md5.rb
|
1019
1020
|
- lib/puppet/parser/functions/each.rb
|
1020
1021
|
- lib/puppet/parser/functions/split.rb
|
@@ -1097,11 +1098,16 @@ files:
|
|
1097
1098
|
- lib/puppet/pops/evaluator/evaluator_impl.rb
|
1098
1099
|
- lib/puppet/pops/evaluator/closure.rb
|
1099
1100
|
- lib/puppet/pops/evaluator/epp_evaluator.rb
|
1101
|
+
- lib/puppet/pops/evaluator/collector_transformer.rb
|
1100
1102
|
- lib/puppet/pops/evaluator/callable_mismatch_describer.rb
|
1101
1103
|
- lib/puppet/pops/evaluator/runtime3_support.rb
|
1102
1104
|
- lib/puppet/pops/evaluator/relationship_operator.rb
|
1103
1105
|
- lib/puppet/pops/evaluator/callable_signature.rb
|
1104
1106
|
- lib/puppet/pops/evaluator/external_syntax_support.rb
|
1107
|
+
- lib/puppet/pops/evaluator/collectors/fixed_set_collector.rb
|
1108
|
+
- lib/puppet/pops/evaluator/collectors/catalog_collector.rb
|
1109
|
+
- lib/puppet/pops/evaluator/collectors/exported_collector.rb
|
1110
|
+
- lib/puppet/pops/evaluator/collectors/abstract_collector.rb
|
1105
1111
|
- lib/puppet/pops/evaluator/compare_operator.rb
|
1106
1112
|
- lib/puppet/pops/issues.rb
|
1107
1113
|
- lib/puppet/pops/visitable.rb
|
@@ -1297,6 +1303,7 @@ files:
|
|
1297
1303
|
- lib/puppet/functions/match.rb
|
1298
1304
|
- lib/puppet/functions/filter.rb
|
1299
1305
|
- lib/puppet/functions/reduce.rb
|
1306
|
+
- lib/puppet/functions/scanf.rb
|
1300
1307
|
- lib/puppet/functions/each.rb
|
1301
1308
|
- lib/puppet/functions/slice.rb
|
1302
1309
|
- lib/puppet/functions/import.rb
|
@@ -2558,6 +2565,7 @@ files:
|
|
2558
2565
|
- spec/unit/resource/type_collection_helper_spec.rb
|
2559
2566
|
- spec/unit/resource/catalog_spec.rb
|
2560
2567
|
- spec/unit/resource/type_spec.rb
|
2568
|
+
- spec/unit/functions/scanf_spec.rb
|
2561
2569
|
- spec/unit/functions/with_spec.rb
|
2562
2570
|
- spec/unit/functions/match_spec.rb
|
2563
2571
|
- spec/unit/functions/slice_spec.rb
|
@@ -3641,6 +3649,7 @@ test_files:
|
|
3641
3649
|
- spec/unit/resource/type_collection_helper_spec.rb
|
3642
3650
|
- spec/unit/resource/catalog_spec.rb
|
3643
3651
|
- spec/unit/resource/type_spec.rb
|
3652
|
+
- spec/unit/functions/scanf_spec.rb
|
3644
3653
|
- spec/unit/functions/with_spec.rb
|
3645
3654
|
- spec/unit/functions/match_spec.rb
|
3646
3655
|
- spec/unit/functions/slice_spec.rb
|