Merge pull request #1876 from mscherer/improve_riak

Use proper type for riak config_dir argument
This commit is contained in:
Toshio Kuratomi 2016-03-20 07:09:53 -07:00
commit 7dc16b3eb9

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'),