mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
namespace manage_file
This commit is contained in:
parent
c6687e69ca
commit
71a3082652
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user