Bulk update of choices=BOOLEANS to type='bool'

This commit is contained in:
Richard C Isaacson 2014-03-11 22:46:53 -05:00
parent fed4fa2fcf
commit 07f6d29503

View file

@ -642,11 +642,11 @@ def main():
argument_spec = rax_argument_spec()
argument_spec.update(
dict(
auto_increment=dict(choices=BOOLEANS, default=True, type='bool'),
auto_increment=dict(default=True, type='bool'),
count=dict(default=1, type='int'),
count_offset=dict(default=1, type='int'),
disk_config=dict(choices=['auto', 'manual']),
exact_count=dict(choices=BOOLEANS, default=False, type='bool'),
exact_count=dict(default=False, type='bool'),
files=dict(type='dict', default={}),
flavor=dict(),
group=dict(),
@ -658,7 +658,7 @@ def main():
networks=dict(type='list', default=['public', 'private']),
service=dict(),
state=dict(default='present', choices=['present', 'absent']),
wait=dict(choices=BOOLEANS, default=False, type='bool'),
wait=dict(default=False, type='bool'),
wait_timeout=dict(default=300),
)
)