~ubuntu-branches/ubuntu/precise/puppet/precise-security

« back to all changes in this revision

Viewing changes to spec/integration/file_serving/metadata_spec.rb

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-07-10 07:58:03 UTC
  • Revision ID: package-import@ubuntu.com-20120710075803-og8iubg2a90dtk7f
Tags: 2.7.11-1ubuntu2.1
* SECURITY UPDATE: Multiple July 2012 security issues
  - debian/patches/2.7.17-Puppet-July-2012-CVE-fixes.patch: upstream
    patch to fix multiple security issues.
  - CVE-2012-3864: arbitrary file read on master from authenticated
    clients
  - CVE-2012-3865: arbitrary file delete or denial of service on master
    from authenticated clients
  - CVE-2012-3866: last_run_report.yaml report file is world readable and
    leads to arbitrary file read on master by an agent
  - CVE-2012-3867: insufficient input validation for agent cert hostnames

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env rspec
 
2
 
2
3
require 'spec_helper'
3
4
 
4
5
require 'puppet/file_serving/metadata'
5
 
require 'shared_behaviours/file_serving'
6
 
require 'puppet/indirector/file_metadata/file_server'
7
 
 
8
 
describe Puppet::FileServing::Metadata, " when finding files" do
9
 
  it_should_behave_like "Puppet::FileServing::Files"
10
 
 
11
 
  before do
12
 
    @test_class = Puppet::FileServing::Metadata
13
 
    @indirection = Puppet::FileServing::Metadata.indirection
14
 
  end
 
6
 
 
7
describe Puppet::FileServing::Metadata do
 
8
  it_should_behave_like "a file_serving model"
15
9
end
 
10