Use proper type for riak config_dir argument

This commit is contained in:
Michael Scherer 2016-03-20 00:49:56 +01:00
parent db32172959
commit ed9b83744b

View file

@ -125,7 +125,7 @@ def main():
argument_spec=dict( argument_spec=dict(
command=dict(required=False, default=None, choices=[ command=dict(required=False, default=None, choices=[
'ping', 'kv_test', 'join', 'plan', 'commit']), 'ping', 'kv_test', 'join', 'plan', 'commit']),
config_dir=dict(default='/etc/riak'), config_dir=dict(default='/etc/riak', type='path'),
http_conn=dict(required=False, default='127.0.0.1:8098'), http_conn=dict(required=False, default='127.0.0.1:8098'),
target_node=dict(default='riak@127.0.0.1', required=False), target_node=dict(default='riak@127.0.0.1', required=False),
wait_for_handoffs=dict(default=False, type='int'), wait_for_handoffs=dict(default=False, type='int'),