mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix #2513
This is embarasing, looks like the wrong backend function was being used
This commit is contained in:
parent
516a8e446e
commit
fa6aca4ea8
@ -77,7 +77,7 @@ def absent(name):
|
||||
ret['comment'] = 'Module {0} is set to be unloaded'
|
||||
ret['comment'] = ret['comment'].format(name)
|
||||
return ret
|
||||
for mod in __salt__['kmod.load'](name):
|
||||
for mod in __salt__['kmod.remove'](name):
|
||||
ret['changes'][mod] = 'removed'
|
||||
for change in ret['changes']:
|
||||
if name in change:
|
||||
|
Loading…
Reference in New Issue
Block a user