Use proper type for riak config_dir argument

This commit is contained in:
Michael Scherer 2016-03-20 00:49:56 +01:00 committed by Matt Clay
parent 49aa069c94
commit 1a05e0f1c8

View file

@ -125,7 +125,7 @@ def main():
argument_spec=dict(
command=dict(required=False, default=None, choices=[
'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'),
target_node=dict(default='riak@127.0.0.1', required=False),
wait_for_handoffs=dict(default=False, type='int'),