msg="service_name supplied but no service_port, a port is required"\
" to configure a service. Did you configure the 'port'"\
"argument meaning 'service_port'?")
module.fail_json(msg="service_name supplied but no service_port, a port is required to configure a service. Did you configure the 'port' argument meaning 'service_port'?")
classConsulService():
@ -505,8 +501,7 @@ class ConsulCheck():
deftest_dependencies(module):
ifnotpython_consul_installed:
module.fail_json(msg="python-consul required for this module. "\
"see http://python-consul.readthedocs.org/en/latest/#installation")
module.fail_json(msg="python-consul required for this module. see http://python-consul.readthedocs.org/en/latest/#installation")