From fd8e080768a3a4e048e8638b60c74afd9d798e98 Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 13 Jun 2006 22:55:14 +0000 Subject: Fixing #173. At this point, I am just calling both "--add" and "on", or "--del" and "off". This should probably be broken up into other states, but.... git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1265 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/types/service.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/types/service.rb b/test/types/service.rb index 720f38350..3a8ba089a 100644 --- a/test/types/service.rb +++ b/test/types/service.rb @@ -37,6 +37,8 @@ class TestInitService case Facter["operatingsystem"].value.downcase when "solaris": return ["smtp", "xf"] + when "redhat": + return ["sshd"] end end @@ -134,6 +136,8 @@ class TestLocalService < Test::Unit::TestCase return {"hddtemp" => {}} when "centos": return {"cups" => {:hasstatus => true}} + when "redhat": + return {"saslauthd" => {:hasstatus => true}} end Puppet.notice "No test services for %s-%s" % -- cgit