summaryrefslogtreecommitdiffstats
path: root/test/other/tc_transactions.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-07-18 19:51:51 +0000
committerLuke Kanies <luke@madstop.com>2005-07-18 19:51:51 +0000
commitb1f3fb8a9beb7a5c8407107b96d5c615f4504b7a (patch)
treee3d8e4e3c02c8860b0ca9759211a35e35b462eba /test/other/tc_transactions.rb
parent357afbbc6054dcdc7a1fd5ae468a2e86a44a9bde (diff)
downloadpuppet-b1f3fb8a9beb7a5c8407107b96d5c615f4504b7a.tar.gz
puppet-b1f3fb8a9beb7a5c8407107b96d5c615f4504b7a.tar.xz
puppet-b1f3fb8a9beb7a5c8407107b96d5c615f4504b7a.zip
switching facts to be auto-provided by the client
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@415 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/other/tc_transactions.rb')
-rw-r--r--test/other/tc_transactions.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/other/tc_transactions.rb b/test/other/tc_transactions.rb
index 03c5134e2..a1976e12b 100644
--- a/test/other/tc_transactions.rb
+++ b/test/other/tc_transactions.rb
@@ -46,11 +46,9 @@ class TestTransactions < 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"),
:check => [:running]
)
- Puppet::Type::Service.setpath(
- File.join($puppetbase,"examples/root/etc/init.d")
- )
end
return Puppet::Type::Service["sleeper"]
}