Add better type checking for elasticsearch_plugin

This commit is contained in:
Michael Scherer 2016-03-21 00:23:12 +01:00
parent 10e70b5f48
commit 0df2191624

View file

@ -134,8 +134,8 @@ def main():
state=dict(default="present", choices=package_state_map.keys()), state=dict(default="present", choices=package_state_map.keys()),
url=dict(default=None), url=dict(default=None),
timeout=dict(default="1m"), timeout=dict(default="1m"),
plugin_bin=dict(default="/usr/share/elasticsearch/bin/plugin"), plugin_bin=dict(default="/usr/share/elasticsearch/bin/plugin", type="path"),
plugin_dir=dict(default="/usr/share/elasticsearch/plugins/"), plugin_dir=dict(default="/usr/share/elasticsearch/plugins/", type="path"),
proxy_host=dict(default=None), proxy_host=dict(default=None),
proxy_port=dict(default=None), proxy_port=dict(default=None),
version=dict(default=None) version=dict(default=None)