Sha256: 462f8baa25b49b249be97a0b54760fa36e203d086b2bbb6f57edb1460d982ee8

Contents?: true

Size: 569 Bytes

Versions: 1

Compression:

Stored size: 569 Bytes

Contents

require File.expand_path('../support/helpers', __FILE__)

describe 'apache2::mod_apreq2' do
  include Helpers::Apache

  it 'enables apreq_module' do
    apache_enabled_modules.must_include "apreq_module"
  end

  it 'symlinks the module on EL' do
    skip unless %w{rhel fedora}.include?(node['platform_family'])
    libdir = node['kernel']['machine'] == 'x86_64' ? "lib64" : "lib"
    link(
      "/usr/#{libdir}/httpd/modules/mod_apreq.so"
      ).must_exist.with(
      :link_type, :symbolic).and(:to, "/usr/#{libdir}/httpd/modules/mod_apreq2.so"
      )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-managed-servers-0.1.0 cookbooks/apache2/files/default/tests/minitest/mod_apreq2_test.rb