diff --git a/library/facter b/library/facter index 7a60021a69..a9cbf3006a 100755 --- a/library/facter +++ b/library/facter @@ -22,6 +22,4 @@ # facter # ruby-json -echo '{ "ansible_facts":' /usr/bin/facter --json -echo '}' diff --git a/library/ohai b/library/ohai index 68c0b8acfe..3b6f3ae144 100755 --- a/library/ohai +++ b/library/ohai @@ -18,6 +18,4 @@ # along with Ansible. If not, see . # -echo '{ "ansible_facts":' /usr/bin/ohai -echo '}' \ No newline at end of file diff --git a/test/TestRunner.py b/test/TestRunner.py index 96c88ee4b3..74e7952e86 100644 --- a/test/TestRunner.py +++ b/test/TestRunner.py @@ -85,7 +85,7 @@ class TestRunner(unittest.TestCase): if not get_binary("facter"): raise SkipTest result = self._run('facter',[]) - assert "hostname" in result['ansible_facts'] + assert "hostname" in result # temporarily disbabled since it occasionally hangs # ohai's fault, setup module doesn't actually run this @@ -95,7 +95,7 @@ class TestRunner(unittest.TestCase): # if not get_binary("facter"): # raise SkipTest # result = self._run('ohai',[]) - # assert "hostname" in result['ansible_facts'] + # assert "hostname" in result def test_copy(self): # test copy module, change trigger, etc