Sha256: 79cc71507b77e016140f8089926b2189e54df8a1c31ac72152b9b140137b59a4

Contents?: true

Size: 1.27 KB

Versions: 11

Compression:

Stored size: 1.27 KB

Contents

describe 'apache::mod::proxy_html', :type => :class do
  let :pre_condition do
    [
      'include apache',
      'include apache::mod::proxy',
      'include apache::mod::proxy_http',
    ]
  end
  context "on a Debian OS" do
    let :facts do
      {
        :osfamily               => 'Debian',
        :operatingsystemrelease => '6',
        :concat_basedir         => '/dne',
      }
    end
    it { should contain_class("apache::params") }
    it { should contain_apache__mod('proxy_html') }
    it { should contain_package("libapache2-mod-proxy-html") }
  end
  context "on a RedHat OS" do
    let :facts do
      {
        :osfamily               => 'RedHat',
        :operatingsystemrelease => '6',
        :concat_basedir         => '/dne',
      }
    end
    it { should contain_class("apache::params") }
    it { should contain_apache__mod('proxy_html') }
    it { should contain_package("mod_proxy_html") }
  end
  context "on a FreeBSD OS" do
    let :facts do
      {
        :osfamily               => 'FreeBSD',
        :operatingsystemrelease => '9',
        :concat_basedir         => '/dne',
      }
    end
    it { should contain_class("apache::params") }
    it { should contain_apache__mod('proxy_html') }
    it { should contain_package("www/mod_proxy_html") }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.6.0 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.5.2 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.5.1 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.5.0 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.4.1 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.4.0 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.3.3 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.3.2 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.3.1 modules/apache/spec/classes/mod/proxy_html_spec.rb
freighthop-0.3.0 modules/apache/spec/classes/mod/proxy_html_spec.rb