namespace manage_file

This commit is contained in:
David Boucha 2013-05-14 17:07:46 -06:00
parent c6687e69ca
commit 71a3082652

View File

@ -43,10 +43,11 @@ def __virtual__():
'''
if salt.utils.is_windows():
if HAS_WINDOWS_MODULES:
global check_perms, get_managed, makedirs_perms
global check_perms, get_managed, makedirs_perms, manage_file
check_perms = namespaced_function(check_perms, globals())
get_managed = namespaced_function(get_managed, globals())
makedirs_perms = namespaced_function(makedirs_perms, globals())
manage_file = namespaced_function(manage_file, globals())
return 'file'
log.warn(salt.utils.required_modules_error(__file__, __doc__))
return False