summaryrefslogtreecommitdiff
path: root/spec/classes/rsyslog_config_spec.rb
diff options
context:
space:
mode:
authorSteffen Zieger <me@saz.sh>2013-05-10 05:26:58 -0700
committerSteffen Zieger <me@saz.sh>2013-05-10 05:26:58 -0700
commit962798488db91310b11b257c0c8b797c0236380d (patch)
tree712a67b57d5b380cb8fe1a0a6062e063ac575a20 /spec/classes/rsyslog_config_spec.rb
parent08c49965861137ae79620c7ca82af572f0ef024f (diff)
parent5c4812a4f44417d398ccc39cb28593b3df3ab9f4 (diff)
Merge pull request #30 from mbornoz/improvements
Improvements
Diffstat (limited to 'spec/classes/rsyslog_config_spec.rb')
-rw-r--r--spec/classes/rsyslog_config_spec.rb54
1 files changed, 0 insertions, 54 deletions
diff --git a/spec/classes/rsyslog_config_spec.rb b/spec/classes/rsyslog_config_spec.rb
deleted file mode 100644
index 640da2d..0000000
--- a/spec/classes/rsyslog_config_spec.rb
+++ /dev/null
@@ -1,54 +0,0 @@
-require 'spec_helper'
-
-describe 'rsyslog::config', :type => :class do
- context "osfamily = RedHat" do
- let :facts do
- {
- :osfamily => 'RedHat',
- }
- end
-
- context "default usage (osfamily = RedHat)" do
- let(:title) { 'rsyslog-basic' }
-
- it 'should compile' do
- should contain_file('/etc/rsyslog.conf')
- should contain_file('/etc/rsyslog.d/')
- end
- end
- end
-
- context "osfamily = Debian" do
- let :facts do
- {
- :osfamily => 'Debian',
- }
- end
-
- context "default usage (osfamily = Debian)" do
- let(:title) { 'rsyslog-basic' }
-
- it 'should compile' do
- should contain_file('/etc/rsyslog.conf')
- should contain_file('/etc/rsyslog.d/')
- end
- end
- end
-
- context "osfamily = FreeBSD" do
- let :facts do
- {
- :osfamily => 'freebsd',
- }
- end
-
- context "default usage (osfamily = Debian)" do
- let(:title) { 'rsyslog-basic' }
-
- it 'should compile' do
- should contain_file('/etc/syslog.conf')
- should contain_file('/etc/syslog.d/')
- end
- end
- end
-end