X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fapache%2Fspec%2Facceptance%2Fmod_proxy_html_spec.rb;fp=3rdparty%2Fmodules%2Fapache%2Fspec%2Facceptance%2Fmod_proxy_html_spec.rb;h=0000000000000000000000000000000000000000;hb=3d4dc4fd9e59bd0e07646c99f6b356c7d9d859aa;hp=e456000890e6573c44014f9ed17558c9cbbe9c85;hpb=29c25a2dd54b818d590063af535221f98af7d6c8;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/apache/spec/acceptance/mod_proxy_html_spec.rb b/3rdparty/modules/apache/spec/acceptance/mod_proxy_html_spec.rb deleted file mode 100644 index e45600089..000000000 --- a/3rdparty/modules/apache/spec/acceptance/mod_proxy_html_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -require 'spec_helper_acceptance' - -describe 'apache::mod::proxy_html class', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do - case fact('osfamily') - when 'Debian' - service_name = 'apache2' - when 'RedHat' - service_name = 'httpd' - when 'FreeBSD' - service_name = 'apache24' - when 'Gentoo' - service_name = 'apache2' - end - - context "default proxy_html config" do - if fact('osfamily') == 'RedHat' and fact('operatingsystemmajrelease') =~ /(5|6)/ - it 'adds epel' do - pp = "class { 'epel': }" - apply_manifest(pp, :catch_failures => true) - end - end - - it 'succeeds in puppeting proxy_html' do - pp= <<-EOS - class { 'apache': } - class { 'apache::mod::proxy': } - class { 'apache::mod::proxy_http': } - # mod_proxy_html doesn't exist in RHEL5 - if $::osfamily == 'RedHat' and $::operatingsystemmajrelease != '5' { - class { 'apache::mod::proxy_html': } - } - EOS - apply_manifest(pp, :catch_failures => true) - end - - describe service(service_name) do - it { is_expected.to be_enabled } - it { is_expected.to be_running } - end - end -end