summaryrefslogtreecommitdiffstats
path: root/roles/lib_dyn/library
diff options
context:
space:
mode:
authorRussell Harrison <rharriso@redhat.com>2016-02-16 14:54:08 -0500
committerRussell Harrison <rharriso@redhat.com>2016-02-16 14:54:08 -0500
commit3a47ba3d1359719499f30699fa8543078f87f579 (patch)
treeaedc0864b4c7b68901a5772c4a4668a66ec563bd /roles/lib_dyn/library
parent61c28772c04a16da46b91e9f7ca12d07b5ac787c (diff)
downloadopenshift-3a47ba3d1359719499f30699fa8543078f87f579.tar.gz
openshift-3a47ba3d1359719499f30699fa8543078f87f579.tar.bz2
openshift-3a47ba3d1359719499f30699fa8543078f87f579.tar.xz
openshift-3a47ba3d1359719499f30699fa8543078f87f579.zip
Add type to record_type param
Diffstat (limited to 'roles/lib_dyn/library')
-rw-r--r--roles/lib_dyn/library/dyn_record.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_dyn/library/dyn_record.py b/roles/lib_dyn/library/dyn_record.py
index 990ec1d7d..ab3f5bb40 100644
--- a/roles/lib_dyn/library/dyn_record.py
+++ b/roles/lib_dyn/library/dyn_record.py
@@ -184,7 +184,7 @@ def main():
user_password=dict(default=os.environ.get('DYNECT_PASSWORD', None), type='str', no_log=True),
zone=dict(required=True, type='str'),
record_fqdn=dict(required=False, type='str'),
- record_type=dict(required=False, choices=[
+ record_type=dict(required=False, type='str', choices=[
'A', 'AAAA', 'CNAME', 'PTR', 'TXT']),
record_value=dict(required=False, type='str'),
record_ttl=dict(required=False, default=0, type='int'),