puppet 4.9.1-x86-mingw32 → 4.9.2-x86-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.
- data/Gemfile +1 -0
- data/lib/puppet/forge/repository.rb +1 -1
- data/lib/puppet/functions/assert_type.rb +3 -5
- data/lib/puppet/functions/yaml_data.rb +6 -1
- data/lib/puppet/pops/adapters.rb +10 -11
- data/lib/puppet/pops/evaluator/evaluator_impl.rb +2 -2
- data/lib/puppet/pops/evaluator/relationship_operator.rb +1 -1
- data/lib/puppet/pops/evaluator/runtime3_support.rb +1 -1
- data/lib/puppet/pops/loader/loader_paths.rb +4 -1
- data/lib/puppet/pops/loaders.rb +2 -0
- data/lib/puppet/pops/lookup/environment_data_provider.rb +10 -2
- data/lib/puppet/pops/lookup/hiera_config.rb +40 -8
- data/lib/puppet/pops/lookup/interpolation.rb +4 -2
- data/lib/puppet/pops/lookup/invocation.rb +2 -2
- data/lib/puppet/pops/lookup/lookup_adapter.rb +8 -2
- data/lib/puppet/pops/lookup/lookup_key_function_provider.rb +7 -3
- data/lib/puppet/pops/merge_strategy.rb +1 -1
- data/lib/puppet/pops/types/type_parser.rb +5 -11
- data/lib/puppet/ssl/certificate.rb +1 -1
- data/lib/puppet/ssl/certificate_request.rb +1 -1
- data/lib/puppet/version.rb +1 -1
- data/spec/lib/puppet_spec/language.rb +3 -1
- data/spec/unit/face/module/search_spec.rb +1 -1
- data/spec/unit/forge/repository_spec.rb +27 -0
- data/spec/unit/functions/lookup_spec.rb +396 -43
- data/spec/unit/network/http/factory_spec.rb +4 -0
- data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +5 -0
- data/spec/unit/pops/evaluator/evaluator_rspec_helper.rb +28 -24
- data/spec/unit/pops/loaders/loaders_spec.rb +117 -22
- data/spec/unit/pops/types/ruby_generator_spec.rb +13 -13
- data/spec/unit/pops/types/type_calculator_spec.rb +13 -25
- data/spec/unit/pops/types/type_parser_spec.rb +1 -4
- data/spec/unit/resource/type_spec.rb +8 -2
- data/spec/unit/ssl/certificate_factory_spec.rb +2 -2
- data/spec/unit/ssl/certificate_request_spec.rb +2 -3
- data/spec/unit/util/http_proxy_spec.rb +4 -0
- metadata +2 -2
@@ -32,12 +32,12 @@ describe Puppet::SSL::CertificateFactory do
|
|
32
32
|
|
33
33
|
it "should set the certificate's subject to the CSR's subject" do
|
34
34
|
cert = subject.build(:server, csr, issuer, serial)
|
35
|
-
expect(cert.subject).to
|
35
|
+
expect(cert.subject).to eq x509_name
|
36
36
|
end
|
37
37
|
|
38
38
|
it "should set the certificate's issuer to the Issuer's subject" do
|
39
39
|
cert = subject.build(:server, csr, issuer, serial)
|
40
|
-
expect(cert.issuer).to
|
40
|
+
expect(cert.issuer).to eq issuer.subject
|
41
41
|
end
|
42
42
|
|
43
43
|
it "should set the certificate's public key to the CSR's public key" do
|
@@ -92,14 +92,13 @@ describe Puppet::SSL::CertificateRequest do
|
|
92
92
|
|
93
93
|
it "should set the subject to [CN, name]" do
|
94
94
|
request.generate(key)
|
95
|
-
|
96
|
-
expect(request.content.subject).to eql OpenSSL::X509::Name.new([['CN', key.name]])
|
95
|
+
expect(request.content.subject).to eq OpenSSL::X509::Name.new([['CN', key.name]])
|
97
96
|
end
|
98
97
|
|
99
98
|
it "should set the CN to the :ca_name setting when the CSR is for a CA" do
|
100
99
|
Puppet[:ca_name] = "mycertname"
|
101
100
|
request = described_class.new(Puppet::SSL::CA_NAME).generate(key)
|
102
|
-
expect(request.subject).to
|
101
|
+
expect(request.subject).to eq OpenSSL::X509::Name.new([['CN', Puppet[:ca_name]]])
|
103
102
|
end
|
104
103
|
|
105
104
|
it "should set the version to 0" do
|
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: 4.9.
|
4
|
+
version: 4.9.2
|
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: 2017-02-
|
12
|
+
date: 2017-02-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: facter
|