puppet 2.6.17 → 2.6.18
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/CHANGELOG +25 -0
- data/conf/auth.conf +3 -3
- data/conf/redhat/puppet.spec +5 -2
- data/lib/puppet.rb +1 -1
- data/lib/puppet/indirector/catalog/compiler.rb +13 -2
- data/lib/puppet/indirector/errors.rb +5 -0
- data/lib/puppet/indirector/file_bucket_file/file.rb +4 -0
- data/lib/puppet/indirector/file_bucket_file/selector.rb +4 -0
- data/lib/puppet/indirector/indirection.rb +1 -0
- data/lib/puppet/indirector/request.rb +4 -0
- data/lib/puppet/indirector/resource/ral.rb +4 -0
- data/lib/puppet/indirector/resource/validator.rb +8 -0
- data/lib/puppet/indirector/rest.rb +4 -0
- data/lib/puppet/indirector/run/local.rb +4 -0
- data/lib/puppet/indirector/terminus.rb +20 -0
- data/lib/puppet/network/http/handler.rb +9 -0
- data/lib/puppet/network/http/rack/rest.rb +7 -2
- data/lib/puppet/network/http/webrick.rb +1 -0
- data/lib/puppet/network/http_pool.rb +17 -8
- data/lib/puppet/network/rest_authconfig.rb +1 -1
- data/lib/puppet/parser/templatewrapper.rb +13 -12
- data/lib/puppet/util/monkey_patches.rb +43 -0
- data/spec/integration/indirector/bucket_file/rest_spec.rb +1 -1
- data/spec/integration/indirector/catalog/compiler_spec.rb +1 -0
- data/spec/integration/indirector/catalog/queue_spec.rb +1 -1
- data/spec/integration/indirector/certificate_request/rest_spec.rb +1 -1
- data/spec/integration/indirector/report/rest_spec.rb +1 -1
- data/spec/integration/resource/catalog_spec.rb +1 -0
- data/spec/unit/indirector/catalog/compiler_spec.rb +30 -3
- data/spec/unit/indirector/indirection_spec.rb +18 -1
- data/spec/unit/indirector/request_spec.rb +22 -0
- data/spec/unit/indirector/terminus_spec.rb +186 -174
- data/spec/unit/network/http/handler_spec.rb +1 -0
- data/spec/unit/network/http/rack/rest_spec.rb +17 -0
- data/spec/unit/network/http/webrick_spec.rb +4 -0
- data/spec/unit/network/http_pool_spec.rb +93 -80
- data/spec/unit/network/rest_authconfig_spec.rb +16 -3
- data/spec/unit/parser/functions/inline_template_spec.rb +14 -1
- data/spec/unit/parser/functions/template_spec.rb +18 -1
- data/spec/unit/parser/templatewrapper_spec.rb +24 -9
- data/spec/unit/util/monkey_patches_spec.rb +11 -1
- data/test/language/snippets.rb +1 -1
- metadata +7 -5
@@ -4,4 +4,14 @@ Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| File.exist?(f) ? require(f
|
|
4
4
|
|
5
5
|
require 'puppet/util/monkey_patches'
|
6
6
|
|
7
|
-
|
7
|
+
describe OpenSSL::SSL::SSLContext do
|
8
|
+
it 'disables SSLv2 via the SSLContext#options bitmask' do
|
9
|
+
(subject.options & OpenSSL::SSL::OP_NO_SSLv2).should == OpenSSL::SSL::OP_NO_SSLv2
|
10
|
+
end
|
11
|
+
it 'has no ciphers with version SSLv2 enabled' do
|
12
|
+
ciphers = subject.ciphers.select do |name, version, bits, alg_bits|
|
13
|
+
/SSLv2/.match(version)
|
14
|
+
end
|
15
|
+
ciphers.should be_empty
|
16
|
+
end
|
17
|
+
end
|
data/test/language/snippets.rb
CHANGED
@@ -495,7 +495,7 @@ class TestSnippets < Test::Unit::TestCase
|
|
495
495
|
|
496
496
|
catalog = nil
|
497
497
|
assert_nothing_raised("Could not compile catalog") {
|
498
|
-
catalog = Puppet::Resource::Catalog.find(node)
|
498
|
+
catalog = Puppet::Resource::Catalog.find(node.name)
|
499
499
|
}
|
500
500
|
|
501
501
|
assert_nothing_raised("Could not convert catalog") {
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 51
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 2.6.
|
9
|
+
- 18
|
10
|
+
version: 2.6.18
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Puppet Labs
|
@@ -15,9 +15,10 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2013-03-11 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
+
name: facter
|
21
22
|
prerelease: false
|
22
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
23
24
|
none: false
|
@@ -31,7 +32,6 @@ dependencies:
|
|
31
32
|
- 1
|
32
33
|
version: 1.5.1
|
33
34
|
type: :runtime
|
34
|
-
name: facter
|
35
35
|
version_requirements: *id001
|
36
36
|
description: Puppet, an automated configuration management tool
|
37
37
|
email: puppet@puppetlabs.com
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- lib/puppet/indirector/couch.rb
|
152
152
|
- lib/puppet/indirector/direct_file_server.rb
|
153
153
|
- lib/puppet/indirector/envelope.rb
|
154
|
+
- lib/puppet/indirector/errors.rb
|
154
155
|
- lib/puppet/indirector/exec.rb
|
155
156
|
- lib/puppet/indirector/facts/active_record.rb
|
156
157
|
- lib/puppet/indirector/facts/couch.rb
|
@@ -194,6 +195,7 @@ files:
|
|
194
195
|
- lib/puppet/indirector/request.rb
|
195
196
|
- lib/puppet/indirector/resource/ral.rb
|
196
197
|
- lib/puppet/indirector/resource/rest.rb
|
198
|
+
- lib/puppet/indirector/resource/validator.rb
|
197
199
|
- lib/puppet/indirector/resource_type/parser.rb
|
198
200
|
- lib/puppet/indirector/resource_type/rest.rb
|
199
201
|
- lib/puppet/indirector/resource_type.rb
|