From 0df2191624b358f4a5353094fa82cef18a84aaee Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 21 Mar 2016 00:23:12 +0100 Subject: [PATCH] Add better type checking for elasticsearch_plugin --- packaging/elasticsearch_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/elasticsearch_plugin.py b/packaging/elasticsearch_plugin.py index a41333afe10..02fc674de1c 100644 --- a/packaging/elasticsearch_plugin.py +++ b/packaging/elasticsearch_plugin.py @@ -134,8 +134,8 @@ def main(): state=dict(default="present", choices=package_state_map.keys()), url=dict(default=None), timeout=dict(default="1m"), - plugin_bin=dict(default="/usr/share/elasticsearch/bin/plugin"), - plugin_dir=dict(default="/usr/share/elasticsearch/plugins/"), + plugin_bin=dict(default="/usr/share/elasticsearch/bin/plugin", type="path"), + plugin_dir=dict(default="/usr/share/elasticsearch/plugins/", type="path"), proxy_host=dict(default=None), proxy_port=dict(default=None), version=dict(default=None)