From 220fe24d39a59f5d8c0eb8660ba3115f7f9fb800 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 22 Jul 2013 10:54:20 -0400 Subject: [PATCH] use global to fail as its not in self Signed-off-by: Brian Coca --- system/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/setup b/system/setup index 5b78aae02e8..e6fde009afa 100644 --- a/system/setup +++ b/system/setup @@ -636,7 +636,7 @@ class LinuxHardware(Hardware): if e.errno == errno.ENOENT: pass else: - self.fail_json(msg=e.strerror) + module.fail_json(msg=e.strerror) self.facts['mounts'].append( {'mount': fields[1],