Merge pull request #447 from swindmill/devel

Allow for specifying name instead of host as per the documentation
reviewable/pr18780/r1
Brian Coca 10 years ago
commit 2690f096a4

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

Loading…
Cancel
Save