Sha256: 36f46dd46a98a65ebe060a006d89f46d5dbcc6b1f8678b0cddc339cb8c78cfb4

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

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

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

  it 'installs the mod_ssl package on RHEL distributions' do
    skip unless ["rhel", "fedora"].include? node['platform_family']
    package("mod_ssl").must_be_installed
  end

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

  it 'does not store SSL config in conf.d' do
    file("#{node['apache']['dir']}/conf.d/ssl.conf").wont_exist
  end

  it "is configured to listen on port 443" do
    apache_configured_ports.must_include(443)
  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_ssl_test.rb