summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-07-16 01:57:18 +0000
committerLuke Kanies <luke@madstop.com>2005-07-16 01:57:18 +0000
commitf38bdef90367a0beb9074bbaa4d5fa384660f7a8 (patch)
tree006559fd656a0d83ed5bf587aef41f5d7b46a370 /test
parent84f721d93e8914b32daa6290004547352f0c9044 (diff)
changing path stuff to be service-specific
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@408 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r--test/types/tc_service.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/types/tc_service.rb b/test/types/tc_service.rb
index bda052f30..b2e0f4770 100644
--- a/test/types/tc_service.rb
+++ b/test/types/tc_service.rb
@@ -23,11 +23,9 @@ class TestService < Test::Unit::TestCase
unless Puppet::Type::Service.has_key?("sleeper")
Puppet::Type::Service.new(
:name => "sleeper",
+ :path => File.join($puppetbase,"examples/root/etc/init.d"),
:running => 1
)
- Puppet::Type::Service.setpath(
- File.join($puppetbase,"examples/root/etc/init.d")
- )
end
@sleeper = Puppet::Type::Service["sleeper"]
}