From 1c79b63d48615d3269c7378ede52b0fffa52f01e Mon Sep 17 00:00:00 2001 From: twangboy Date: Fri, 15 Jan 2016 16:10:07 -0700 Subject: [PATCH] Parse additional functions --- salt/modules/mac_timezone.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/salt/modules/mac_timezone.py b/salt/modules/mac_timezone.py index 433a71db93..b5919df770 100644 --- a/salt/modules/mac_timezone.py +++ b/salt/modules/mac_timezone.py @@ -134,7 +134,9 @@ def zone_compare(time_zone): def get_using_network_time(): cmd = 'systemsetup -getusingnetworktime' - return _execute_return_result(cmd) + ret = _execute_return_result(cmd) + + return _parse_return(ret) def set_using_network_time(enable): @@ -153,7 +155,9 @@ def set_using_network_time(enable): def get_time_server(): cmd = 'systemsetup -getnetworktimeserver' - return _execute_return_result(cmd) + ret = _execute_return_result(cmd) + + return _parse_return(ret) def set_time_server(time_server):