summaryrefslogtreecommitdiff
path: root/spec/classes
diff options
context:
space:
mode:
Diffstat (limited to 'spec/classes')
-rw-r--r--spec/classes/rsyslog_client_spec.rb3
-rw-r--r--spec/classes/rsyslog_database_spec.rb3
-rw-r--r--spec/classes/rsyslog_server_spec.rb3
-rw-r--r--spec/classes/rsyslog_spec.rb12
4 files changed, 14 insertions, 7 deletions
diff --git a/spec/classes/rsyslog_client_spec.rb b/spec/classes/rsyslog_client_spec.rb
index bdfccbf..ecf5911 100644
--- a/spec/classes/rsyslog_client_spec.rb
+++ b/spec/classes/rsyslog_client_spec.rb
@@ -4,7 +4,8 @@ describe 'rsyslog::client', :type => :class do
context "osfamily = RedHat" do
let :facts do
{
- :osfamily => 'RedHat',
+ :osfamily => 'RedHat',
+ :operatingsystemrelease => 6.0,
}
end
diff --git a/spec/classes/rsyslog_database_spec.rb b/spec/classes/rsyslog_database_spec.rb
index 982ccde..cbbaa3a 100644
--- a/spec/classes/rsyslog_database_spec.rb
+++ b/spec/classes/rsyslog_database_spec.rb
@@ -4,7 +4,8 @@ describe 'rsyslog::database', :type => :class do
context "osfamily = RedHat" do
let :facts do
{
- :osfamily => 'RedHat',
+ :osfamily => 'RedHat',
+ :operatingsystemrelease => 6.0,
}
end
diff --git a/spec/classes/rsyslog_server_spec.rb b/spec/classes/rsyslog_server_spec.rb
index ec2b523..677a8f4 100644
--- a/spec/classes/rsyslog_server_spec.rb
+++ b/spec/classes/rsyslog_server_spec.rb
@@ -6,7 +6,8 @@ describe 'rsyslog::server', :type => :class do
context "osfamily = #{osfamily}" do
let :facts do
{
- :osfamily => osfamily,
+ :osfamily => osfamily,
+ :operatingsystemrelease => 6.0,
}
end
diff --git a/spec/classes/rsyslog_spec.rb b/spec/classes/rsyslog_spec.rb
index 1daf9aa..5a06816 100644
--- a/spec/classes/rsyslog_spec.rb
+++ b/spec/classes/rsyslog_spec.rb
@@ -4,7 +4,8 @@ describe 'rsyslog', :type => :class do
context "osfamily = RedHat" do
let :facts do
{
- :osfamily => 'RedHat',
+ :osfamily => 'RedHat',
+ :operatingsystemrelease => 6.0,
}
end
@@ -58,7 +59,8 @@ describe 'rsyslog', :type => :class do
context "osfamily = RedHat" do
let :facts do
{
- :osfamily => 'RedHat',
+ :osfamily => 'RedHat',
+ :operatingsystemrelease => 6.0,
}
end
@@ -109,7 +111,8 @@ describe 'rsyslog', :type => :class do
context "osfamily = RedHat" do
let :facts do
{
- :osfamily => 'RedHat',
+ :osfamily => 'RedHat',
+ :operatingsystemrelease => 6.0,
}
end
@@ -160,7 +163,8 @@ describe 'rsyslog', :type => :class do
context "osfamily = RedHat" do
let :facts do
{
- :osfamily => 'RedHat',
+ :osfamily => 'RedHat',
+ :operatingsystemrelease => 6.0,
}
end