]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/apache/spec/classes/mod/peruser_spec.rb
remove all openstack foo
[dsa-puppet.git] / 3rdparty / modules / apache / spec / classes / mod / peruser_spec.rb
diff --git a/3rdparty/modules/apache/spec/classes/mod/peruser_spec.rb b/3rdparty/modules/apache/spec/classes/mod/peruser_spec.rb
deleted file mode 100644 (file)
index 097a36f..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-require 'spec_helper'
-
-describe 'apache::mod::peruser', :type => :class do
-  let :pre_condition do
-    'class { "apache": mpm_module => false, }'
-  end
-  context "on a FreeBSD OS" do
-    let :facts do
-      {
-        :osfamily               => 'FreeBSD',
-        :operatingsystemrelease => '10',
-        :concat_basedir         => '/dne',
-        :operatingsystem        => 'FreeBSD',
-        :id                     => 'root',
-        :kernel                 => 'FreeBSD',
-        :path                   => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
-        :is_pe                  => false,
-      }
-    end
-    it do
-      expect {
-        catalogue
-      }.to raise_error(Puppet::Error, /Unsupported osfamily FreeBSD/)
-    end
-  end
-  context "on a Gentoo OS" do
-    let :facts do
-      {
-        :osfamily               => 'Gentoo',
-        :operatingsystem        => 'Gentoo',
-        :operatingsystemrelease => '3.16.1-gentoo',
-        :concat_basedir         => '/dne',
-        :id                     => 'root',
-        :kernel                 => 'Linux',
-        :path                   => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin',
-        :is_pe                  => false,
-      }
-    end
-    it { is_expected.to contain_class("apache::params") }
-    it { is_expected.not_to contain_apache__mod('peruser') }
-    it { is_expected.to contain_file("/etc/apache2/modules.d/peruser.conf").with_ensure('file') }
-  end
-end