summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-13 22:55:14 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-13 22:55:14 +0000
commitfd8e080768a3a4e048e8638b60c74afd9d798e98 (patch)
tree6ba731638110c0ee474b32ecbd153e4d60a9cff8 /test
parentef163ba0d0033635745220c7b2d1f209f4e1700e (diff)
downloadpuppet-fd8e080768a3a4e048e8638b60c74afd9d798e98.tar.gz
puppet-fd8e080768a3a4e048e8638b60c74afd9d798e98.tar.xz
puppet-fd8e080768a3a4e048e8638b60c74afd9d798e98.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/types/service.rb4
1 files changed, 4 insertions, 0 deletions
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" %