]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/apache/spec/classes/dev_spec.rb
remove all openstack foo
[dsa-puppet.git] / 3rdparty / modules / apache / spec / classes / dev_spec.rb
diff --git a/3rdparty/modules/apache/spec/classes/dev_spec.rb b/3rdparty/modules/apache/spec/classes/dev_spec.rb
deleted file mode 100644 (file)
index eb3d765..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-require 'spec_helper'
-
-describe 'apache::dev', :type => :class do
-  let(:pre_condition) {[
-    'include apache'
-  ]}
-  context "on a Debian OS" do
-    let :facts do
-      {
-        :lsbdistcodename        => 'squeeze',
-        :osfamily               => 'Debian',
-        :operatingsystem        => 'Debian',
-        :operatingsystemrelease => '6',
-        :is_pe                  => false,
-        :concat_basedir         => '/foo',
-        :id                     => 'root',
-        :path                   => '/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin',
-        :kernel                 => 'Linux'
-      }
-    end
-    it { is_expected.to contain_class("apache::params") }
-    it { is_expected.to contain_package("libaprutil1-dev") }
-    it { is_expected.to contain_package("libapr1-dev") }
-    it { is_expected.to contain_package("apache2-prefork-dev") }
-  end
-  context "on an Ubuntu 14 OS" do
-    let :facts do
-      {
-        :lsbdistrelease         => '14.04',
-        :lsbdistcodename        => 'trusty',
-        :osfamily               => 'Debian',
-        :operatingsystem        => 'Ubuntu',
-        :operatingsystemrelease => '14.04',
-        :is_pe                  => false,
-        :concat_basedir         => '/foo',
-        :id                     => 'root',
-        :path                   => '/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin',
-        :kernel                 => 'Linux'
-      }
-    end
-    it { is_expected.to contain_package("apache2-dev") }
-  end
-  context "on a RedHat OS" do
-    let :facts do
-      {
-        :osfamily               => 'RedHat',
-        :operatingsystem        => 'RedHat',
-        :operatingsystemrelease => '6',
-        :is_pe                  => false,
-        :concat_basedir         => '/foo',
-        :id                     => 'root',
-        :path                   => '/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin',
-        :kernel                 => 'Linux'
-      }
-    end
-    it { is_expected.to contain_class("apache::params") }
-    it { is_expected.to contain_package("httpd-devel") }
-  end
-  context "on a FreeBSD OS" do
-    let :facts do
-      {
-        :osfamily               => 'FreeBSD',
-        :operatingsystem        => 'FreeBSD',
-        :operatingsystemrelease => '9',
-        :is_pe                  => false,
-        :concat_basedir         => '/foo',
-        :id                     => 'root',
-        :path                   => '/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin',
-        :kernel                 => 'FreeBSD'
-      }
-    end
-    it { is_expected.to contain_class("apache::params") }
-  end
-  context "on a Gentoo OS" do
-    let :facts do
-      {
-        :osfamily               => 'Gentoo',
-        :operatingsystem        => 'Gentoo',
-        :operatingsystemrelease => '3.16.1-gentoo',
-        :concat_basedir         => '/dne',
-        :is_pe                  => false,
-        :concat_basedir         => '/foo',
-        :id                     => 'root',
-        :path                   => '/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin',
-        :kernel                 => 'Linux'
-      }
-    end
-    it { is_expected.to contain_class("apache::params") }
-  end
-end