Skip to content

Commit 353805a

Browse files
authored
Update freeipa parameter defaults (#61)
Signed-off-by: Webster Mudge <wmudge@cloudera.com>
1 parent dd54fc4 commit 353805a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

plugins/modules/env.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
# Copyright 2021 Cloudera, Inc. All Rights Reserved.
4+
# Copyright 2022 Cloudera, Inc. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -204,9 +204,11 @@
204204
contains:
205205
instanceCountByGroup:
206206
description:
207-
- The number of FreeIPA instances to create per group when creating FreeIPA in the environment
207+
- The number of FreeIPA instances to create per group when creating FreeIPA in the environment.
208+
- For high-availability, provide a number greater than 2.
208209
type: int
209210
required: False
211+
default: 2
210212
proxy:
211213
description:
212214
- The name of the proxy config to use for the environment.
@@ -306,6 +308,8 @@
306308
public_key_id: example-sshkey
307309
network_cidr: 10.10.0.0/16
308310
inbound_cidr: 0.0.0.0/0
311+
freeipa:
312+
instanceCountByGroup: 3
309313
tags:
310314
project: Arbitrary content
311315
@@ -1016,8 +1020,9 @@ def main():
10161020
workload_analytics=dict(required=False, type='bool', default=True),
10171021
description=dict(required=False, type='str', aliases=['desc']),
10181022
tunnel=dict(required=False, type='bool', aliases=['enable_tunnel', 'ssh_tunnel'], default=False),
1019-
freeipa=dict(required=False, type='dict', options=dict(instanceCountByGroup=dict(required=False,
1020-
type='int'))),
1023+
freeipa=dict(required=False, type='dict', options=dict(
1024+
instanceCountByGroup=dict(required=False, type='int')
1025+
), default=dict(instanceCountByGroup=2)),
10211026
project=dict(required=False, type='str'),
10221027
proxy=dict(required=False, type='str', aliases=['[proxy_config', 'proxy_config_name']),
10231028
cascade=dict(required=False, type='bool', default=False, aliases=['cascading']),

0 commit comments

Comments
 (0)