summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-10-21 22:51:26 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-10-21 22:51:26 +0000
commit5ab12f97eae989c03b0444cf51ad423fdc6e01f7 (patch)
tree74a3831e6feed43e338300559eab82ea8b19c81c
parentf036778df725e1b328ac6f11b784f8e72ee34261 (diff)
downloadpuppet-5ab12f97eae989c03b0444cf51ad423fdc6e01f7.tar.gz
puppet-5ab12f97eae989c03b0444cf51ad423fdc6e01f7.tar.xz
puppet-5ab12f97eae989c03b0444cf51ad423fdc6e01f7.zip
fixing path to facter
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@722 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--README4
-rw-r--r--test/types/tc_basic.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/README b/README
index bd853cac3..b0ab86626 100644
--- a/README
+++ b/README
@@ -9,12 +9,14 @@ This is what you need to get puppet running:
ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz
Un tar it, then: ./configure; make; make install
--- http://reductivelabs.com/downloads/facter/facter-1.0.tgz
+-- http://reductivelabs.com/downloads/facter/facter-latest.tgz
A library that puppet needs to run. Un tar it, and calling
'ruby install.rb' file should successfully install it; let
me know if it doesn't. Otherwise, you can just set RUBYLIB
to contain its lib directory.
+ There should also be a recent snapshot there.
+
-- Install puppet
Run 'ruby install.rb' or add the 'lib/' directory to your RUBYLIB path.
diff --git a/test/types/tc_basic.rb b/test/types/tc_basic.rb
index 03347223e..4ad6d559b 100644
--- a/test/types/tc_basic.rb
+++ b/test/types/tc_basic.rb
@@ -29,7 +29,7 @@ class TestBasic < Test::Unit::TestCase
}
assert_nothing_raised() {
- @filepath = "/tmp/testfile"
+ @filepath = tempfile()
@@tmpfiles << @filepath
@configfile = Puppet::Type::PFile.create(
:path => @filepath,