mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix naming issue in host state
This commit is contained in:
parent
e913c81777
commit
782574b58e
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def absent(name, ip):
|
|||
if __salt__['hosts.rm_host'](ip, name):
|
||||
ret['changes'] = {'host': name}
|
||||
ret['result'] = True
|
||||
ret['comment'] = 'Removed host ' + host
|
||||
ret['comment'] = 'Removed host ' + name
|
||||
return ret
|
||||
else:
|
||||
ret['result'] = False
|
||||
|
|
Loading…
Add table
Reference in a new issue