Fix naming issue in host state

This commit is contained in:
Thomas S Hatch 2011-05-29 23:17:55 -06:00
parent e913c81777
commit 782574b58e

View file

@ -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