From 7307981748c482b770829efdc760429a347f8e54 Mon Sep 17 00:00:00 2001 From: Spencer Owen Date: Wed, 2 Dec 2015 17:50:29 -0700 Subject: [PATCH] Adds augeas warning --- salt/modules/augeas_cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/augeas_cfg.py b/salt/modules/augeas_cfg.py index afb8233f7a..b97cc8a9d4 100644 --- a/salt/modules/augeas_cfg.py +++ b/salt/modules/augeas_cfg.py @@ -56,7 +56,7 @@ def __virtual__(): ''' if HAS_AUGEAS: return __virtualname__ - return False + return (False, 'Cannot load augeas_cfg module: augeas python module not installed') def _recurmatch(path, aug):