<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,2 +1,7 @@
-Unforantely, no install.rb yet.  Hopefully soon.  Just copy the libs into
-your main ruby library directory.  Or something.
+Run 'ruby install.rb' or use one of the distributed gem files at
+http://reductivelabs.com/downloads/gems .
+
+install.rb should successfully install; let me know if it doesn't.
+
+Otherwise, you can just set RUBYLIB to contain its lib directory, or copy
+the libs into your main ruby library directory.</diff>
      <filename>INSTALL</filename>
    </modified>
    <modified>
      <diff>@@ -753,6 +753,11 @@ class Facter
             obj.tag(&quot;operatingsystem&quot;,&quot;=&quot;,&quot;Darwin&quot;)
             obj.code = &quot;echo 'ps -auxwww'&quot;
         }
+
+        Facter[&quot;id&quot;].add { |obj|
+            obj.tag(&quot;operatingsystem&quot;,&quot;=&quot;,&quot;Linux&quot;)
+            obj.code = &quot;whoami&quot;
+        }
     end
 
     Facter.load</diff>
      <filename>lib/facter.rb</filename>
    </modified>
    <modified>
      <diff>@@ -20,6 +20,10 @@ class TestFacter &lt; Test::Unit::TestCase
     def teardown
         # clear out the list of facts, so we start fresh for every test
         Facter.reset
+
+        if ! @oldhandles.empty?
+            $stdin, $stdout, $stderr = @oldhandles
+        end
     end
 
     def test_version 
@@ -265,4 +269,21 @@ class TestFacter &lt; Test::Unit::TestCase
             assert(value)
         }
     end
+
+    def test_withnoouts
+        @oldhandles = []
+        @oldhandles &lt;&lt; $stdin.dup
+        $stdin.reopen &quot;/dev/null&quot;
+        @oldhandles &lt;&lt; $stdout.dup
+        $stdout.reopen &quot;/dev/null&quot;, &quot;a&quot;
+        @oldhandles &lt;&lt; $stderr.dup
+        $stderr.reopen $stdout
+
+        assert_nothing_raised {
+            Facter.each { |name,fact|
+                list[name] = fact
+            }
+        }
+        $stdin, $stdout, $stderr = @oldhandles
+    end
 end</diff>
      <filename>tests/tc_simple.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7cec936bf10ea2f0c2f56c00839043ad9369d99b</id>
    </parent>
  </parents>
  <author>
    <name>luke</name>
    <email>luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a</email>
  </author>
  <url>http://github.com/lak/facter/commit/8cb9662660927f0ba55c18be91aa764174fdb61b</url>
  <id>8cb9662660927f0ba55c18be91aa764174fdb61b</id>
  <committed-date>2005-11-16T09:29:21-08:00</committed-date>
  <authored-date>2005-11-16T09:29:21-08:00</authored-date>
  <message>updating INSTALL with patch from ian

git-svn-id: http://reductivelabs.com/svn/facter/trunk@60 1f5c1d6a-bddf-0310-8f58-fc49e503516a</message>
  <tree>2fe901de41e8b38a31885505edf4274f0ae32199</tree>
  <committer>
    <name>luke</name>
    <email>luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a</email>
  </committer>
</commit>
