Merge pull request #6425 from risaacson/migrate_booleans_bool_rax

Bulk update of choices=BOOLEANS to type='bool'
pull/6433/head
Richard Isaacson 11 years ago
commit 9bb8c2aa42

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

Loading…
Cancel
Save