Merge pull request #447 from swindmill/devel

Allow for specifying name instead of host as per the documentation
This commit is contained in:
Brian Coca 2015-05-04 17:12:58 -04:00
commit 2690f096a4

View file

@ -82,7 +82,7 @@ def enforce_state(module, params):
Add or remove key.
"""
host = params["host"]
host = params["name"]
key = params.get("key",None)
port = params.get("port",None)
#expand the path parameter; otherwise module.add_path_info