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.

Files changed (43) hide show
  1. data/CHANGELOG +25 -0
  2. data/conf/auth.conf +3 -3
  3. data/conf/redhat/puppet.spec +5 -2
  4. data/lib/puppet.rb +1 -1
  5. data/lib/puppet/indirector/catalog/compiler.rb +13 -2
  6. data/lib/puppet/indirector/errors.rb +5 -0
  7. data/lib/puppet/indirector/file_bucket_file/file.rb +4 -0
  8. data/lib/puppet/indirector/file_bucket_file/selector.rb +4 -0
  9. data/lib/puppet/indirector/indirection.rb +1 -0
  10. data/lib/puppet/indirector/request.rb +4 -0
  11. data/lib/puppet/indirector/resource/ral.rb +4 -0
  12. data/lib/puppet/indirector/resource/validator.rb +8 -0
  13. data/lib/puppet/indirector/rest.rb +4 -0
  14. data/lib/puppet/indirector/run/local.rb +4 -0
  15. data/lib/puppet/indirector/terminus.rb +20 -0
  16. data/lib/puppet/network/http/handler.rb +9 -0
  17. data/lib/puppet/network/http/rack/rest.rb +7 -2
  18. data/lib/puppet/network/http/webrick.rb +1 -0
  19. data/lib/puppet/network/http_pool.rb +17 -8
  20. data/lib/puppet/network/rest_authconfig.rb +1 -1
  21. data/lib/puppet/parser/templatewrapper.rb +13 -12
  22. data/lib/puppet/util/monkey_patches.rb +43 -0
  23. data/spec/integration/indirector/bucket_file/rest_spec.rb +1 -1
  24. data/spec/integration/indirector/catalog/compiler_spec.rb +1 -0
  25. data/spec/integration/indirector/catalog/queue_spec.rb +1 -1
  26. data/spec/integration/indirector/certificate_request/rest_spec.rb +1 -1
  27. data/spec/integration/indirector/report/rest_spec.rb +1 -1
  28. data/spec/integration/resource/catalog_spec.rb +1 -0
  29. data/spec/unit/indirector/catalog/compiler_spec.rb +30 -3
  30. data/spec/unit/indirector/indirection_spec.rb +18 -1
  31. data/spec/unit/indirector/request_spec.rb +22 -0
  32. data/spec/unit/indirector/terminus_spec.rb +186 -174
  33. data/spec/unit/network/http/handler_spec.rb +1 -0
  34. data/spec/unit/network/http/rack/rest_spec.rb +17 -0
  35. data/spec/unit/network/http/webrick_spec.rb +4 -0
  36. data/spec/unit/network/http_pool_spec.rb +93 -80
  37. data/spec/unit/network/rest_authconfig_spec.rb +16 -3
  38. data/spec/unit/parser/functions/inline_template_spec.rb +14 -1
  39. data/spec/unit/parser/functions/template_spec.rb +18 -1
  40. data/spec/unit/parser/templatewrapper_spec.rb +24 -9
  41. data/spec/unit/util/monkey_patches_spec.rb +11 -1
  42. data/test/language/snippets.rb +1 -1
  43. 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
@@ -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: 53
4
+ hash: 51
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 6
9
- - 17
10
- version: 2.6.17
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: 2012-07-10 00:00:00 Z
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