From 5cd4bae0ae5a105e416dfd1151d8b93596b08fa3 Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Sat, 16 Apr 2011 16:18:12 -0600 Subject: [PATCH] Add local test returner to verify the interface --- salt/returners/local.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 salt/returners/local.py diff --git a/salt/returners/local.py b/salt/returners/local.py new file mode 100644 index 0000000000..11c155e12b --- /dev/null +++ b/salt/returners/local.py @@ -0,0 +1,10 @@ +''' +The local returner is used to test the returner interface, it just prints the +return data to the console to verify that it is being passed properly +''' + +def returner(ret): + ''' + Print the return data to the terminal to verify functionality + ''' + print ret