puppet 2.7.17 → 2.7.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 (41) hide show
  1. data/CHANGELOG +16 -0
  2. data/conf/redhat/puppet.spec +4 -1
  3. data/lib/puppet.rb +1 -1
  4. data/lib/puppet/application/master.rb +26 -8
  5. data/lib/puppet/defaults.rb +4 -4
  6. data/lib/puppet/face/file/download.rb +1 -1
  7. data/lib/puppet/file_bucket/file.rb +6 -7
  8. data/lib/puppet/file_serving/configuration.rb +2 -1
  9. data/lib/puppet/file_serving/content.rb +1 -2
  10. data/lib/puppet/file_serving/metadata.rb +1 -2
  11. data/lib/puppet/file_serving/mount/modules.rb +4 -5
  12. data/lib/puppet/file_serving/{indirection_hooks.rb → terminus_selector.rb} +2 -5
  13. data/lib/puppet/indirector/file_bucket_file/selector.rb +49 -0
  14. data/lib/puppet/indirector/file_content/selector.rb +30 -0
  15. data/lib/puppet/indirector/file_metadata/selector.rb +30 -0
  16. data/lib/puppet/network/authstore.rb +10 -2
  17. data/lib/puppet/reports/store.rb +13 -6
  18. data/lib/puppet/ssl/base.rb +8 -0
  19. data/lib/puppet/ssl/certificate_authority.rb +10 -0
  20. data/lib/puppet/ssl/certificate_authority/interface.rb +4 -2
  21. data/lib/puppet/ssl/host.rb +1 -0
  22. data/spec/integration/file_bucket/file_spec.rb +44 -0
  23. data/spec/integration/file_serving/content_spec.rb +3 -8
  24. data/spec/integration/file_serving/metadata_spec.rb +4 -9
  25. data/spec/integration/network/rest_authconfig_spec.rb +22 -3
  26. data/spec/shared_behaviours/file_serving.rb +70 -58
  27. data/spec/shared_behaviours/file_serving_model.rb +73 -0
  28. data/spec/unit/file_serving/configuration_spec.rb +37 -29
  29. data/spec/unit/file_serving/content_spec.rb +1 -5
  30. data/spec/unit/file_serving/metadata_spec.rb +1 -5
  31. data/spec/unit/file_serving/mount/modules_spec.rb +8 -0
  32. data/spec/unit/file_serving/{indirection_hooks_spec.rb → terminus_selector_spec.rb} +10 -11
  33. data/spec/unit/indirector/file_bucket_file/selector_spec.rb +29 -0
  34. data/spec/unit/indirector/file_content/selector_spec.rb +10 -0
  35. data/spec/unit/indirector/file_metadata/selector_spec.rb +11 -0
  36. data/spec/unit/network/handler/ca_spec.rb +1 -0
  37. data/spec/unit/reports/store_spec.rb +28 -0
  38. data/spec/unit/ssl/certificate_authority/interface_spec.rb +17 -17
  39. data/spec/unit/ssl/certificate_authority_spec.rb +76 -11
  40. metadata +15 -8
  41. data/lib/puppet/file_bucket/file/indirection_hooks.rb +0 -9
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: 49
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 7
9
- - 17
10
- version: 2.7.17
9
+ - 18
10
+ version: 2.7.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Puppet Labs
@@ -15,10 +15,9 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-19 00:00:00 Z
18
+ date: 2012-07-10 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: facter
22
21
  prerelease: false
23
22
  requirement: &id001 !ruby/object:Gem::Requirement
24
23
  none: false
@@ -31,6 +30,7 @@ dependencies:
31
30
  - 5
32
31
  version: "1.5"
33
32
  type: :runtime
33
+ name: facter
34
34
  version_requirements: *id001
35
35
  description: Puppet, an automated configuration management tool
36
36
  email: puppet@puppetlabs.com
@@ -175,7 +175,6 @@ files:
175
175
  - lib/puppet/feature/stomp.rb
176
176
  - lib/puppet/feature/zlib.rb
177
177
  - lib/puppet/file_bucket/dipper.rb
178
- - lib/puppet/file_bucket/file/indirection_hooks.rb
179
178
  - lib/puppet/file_bucket/file.rb
180
179
  - lib/puppet/file_bucket.rb
181
180
  - lib/puppet/file_collection/lookup.rb
@@ -185,13 +184,13 @@ files:
185
184
  - lib/puppet/file_serving/configuration.rb
186
185
  - lib/puppet/file_serving/content.rb
187
186
  - lib/puppet/file_serving/fileset.rb
188
- - lib/puppet/file_serving/indirection_hooks.rb
189
187
  - lib/puppet/file_serving/metadata.rb
190
188
  - lib/puppet/file_serving/mount/file.rb
191
189
  - lib/puppet/file_serving/mount/modules.rb
192
190
  - lib/puppet/file_serving/mount/plugins.rb
193
191
  - lib/puppet/file_serving/mount.rb
194
192
  - lib/puppet/file_serving/terminus_helper.rb
193
+ - lib/puppet/file_serving/terminus_selector.rb
195
194
  - lib/puppet/file_serving.rb
196
195
  - lib/puppet/forge/cache.rb
197
196
  - lib/puppet/forge/repository.rb
@@ -234,13 +233,16 @@ files:
234
233
  - lib/puppet/indirector/facts/yaml.rb
235
234
  - lib/puppet/indirector/file_bucket_file/file.rb
236
235
  - lib/puppet/indirector/file_bucket_file/rest.rb
236
+ - lib/puppet/indirector/file_bucket_file/selector.rb
237
237
  - lib/puppet/indirector/file_content/file.rb
238
238
  - lib/puppet/indirector/file_content/file_server.rb
239
239
  - lib/puppet/indirector/file_content/rest.rb
240
+ - lib/puppet/indirector/file_content/selector.rb
240
241
  - lib/puppet/indirector/file_content.rb
241
242
  - lib/puppet/indirector/file_metadata/file.rb
242
243
  - lib/puppet/indirector/file_metadata/file_server.rb
243
244
  - lib/puppet/indirector/file_metadata/rest.rb
245
+ - lib/puppet/indirector/file_metadata/selector.rb
244
246
  - lib/puppet/indirector/file_metadata.rb
245
247
  - lib/puppet/indirector/file_server.rb
246
248
  - lib/puppet/indirector/indirection.rb
@@ -1254,6 +1256,7 @@ files:
1254
1256
  - spec/integration/configurer_spec.rb
1255
1257
  - spec/integration/defaults_spec.rb
1256
1258
  - spec/integration/faces/documentation_spec.rb
1259
+ - spec/integration/file_bucket/file_spec.rb
1257
1260
  - spec/integration/file_serving/content_spec.rb
1258
1261
  - spec/integration/file_serving/fileset_spec.rb
1259
1262
  - spec/integration/file_serving/metadata_spec.rb
@@ -1326,6 +1329,7 @@ files:
1326
1329
  - spec/shared_behaviours/documentation_on_faces.rb
1327
1330
  - spec/shared_behaviours/file_server_terminus.rb
1328
1331
  - spec/shared_behaviours/file_serving.rb
1332
+ - spec/shared_behaviours/file_serving_model.rb
1329
1333
  - spec/shared_behaviours/memory_terminus.rb
1330
1334
  - spec/shared_behaviours/path_parameters.rb
1331
1335
  - spec/shared_behaviours/store_configs_terminus.rb
@@ -1397,13 +1401,13 @@ files:
1397
1401
  - spec/unit/file_serving/configuration_spec.rb
1398
1402
  - spec/unit/file_serving/content_spec.rb
1399
1403
  - spec/unit/file_serving/fileset_spec.rb
1400
- - spec/unit/file_serving/indirection_hooks_spec.rb
1401
1404
  - spec/unit/file_serving/metadata_spec.rb
1402
1405
  - spec/unit/file_serving/mount/file_spec.rb
1403
1406
  - spec/unit/file_serving/mount/modules_spec.rb
1404
1407
  - spec/unit/file_serving/mount/plugins_spec.rb
1405
1408
  - spec/unit/file_serving/mount_spec.rb
1406
1409
  - spec/unit/file_serving/terminus_helper_spec.rb
1410
+ - spec/unit/file_serving/terminus_selector_spec.rb
1407
1411
  - spec/unit/forge/repository_spec.rb
1408
1412
  - spec/unit/forge_spec.rb
1409
1413
  - spec/unit/indirector/active_record_spec.rb
@@ -1440,12 +1444,15 @@ files:
1440
1444
  - spec/unit/indirector/facts/yaml_spec.rb
1441
1445
  - spec/unit/indirector/file_bucket_file/file_spec.rb
1442
1446
  - spec/unit/indirector/file_bucket_file/rest_spec.rb
1447
+ - spec/unit/indirector/file_bucket_file/selector_spec.rb
1443
1448
  - spec/unit/indirector/file_content/file_server_spec.rb
1444
1449
  - spec/unit/indirector/file_content/file_spec.rb
1445
1450
  - spec/unit/indirector/file_content/rest_spec.rb
1451
+ - spec/unit/indirector/file_content/selector_spec.rb
1446
1452
  - spec/unit/indirector/file_metadata/file_server_spec.rb
1447
1453
  - spec/unit/indirector/file_metadata/file_spec.rb
1448
1454
  - spec/unit/indirector/file_metadata/rest_spec.rb
1455
+ - spec/unit/indirector/file_metadata/selector_spec.rb
1449
1456
  - spec/unit/indirector/file_server_spec.rb
1450
1457
  - spec/unit/indirector/indirection_spec.rb
1451
1458
  - spec/unit/indirector/instrumentation_data/local_spec.rb
@@ -1,9 +0,0 @@
1
- require 'puppet/file_bucket/file'
2
-
3
- # This module is used to pick the appropriate terminus
4
- # in filebucket indirections.
5
- module Puppet::FileBucket::File::IndirectionHooks
6
- def select_terminus(request)
7
- return(request.protocol == 'https' ? :rest : Puppet::FileBucket::File.indirection.terminus_class)
8
- end
9
- end