|  | 
| 1 | 1 | #!/usr/bin/env python | 
| 2 | 2 | # -*- coding: utf-8 -*- | 
| 3 | 3 | 
 | 
| 4 |  | -# Copyright 2021 Cloudera, Inc. All Rights Reserved. | 
|  | 4 | +# Copyright 2022 Cloudera, Inc. All Rights Reserved. | 
| 5 | 5 | # | 
| 6 | 6 | # Licensed under the Apache License, Version 2.0 (the "License"); | 
| 7 | 7 | # you may not use this file except in compliance with the License. | 
|  | 
| 204 | 204 |     contains: | 
| 205 | 205 |       instanceCountByGroup: | 
| 206 | 206 |         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. | 
| 208 | 209 |         type: int | 
| 209 | 210 |         required: False | 
|  | 211 | +        default: 2 | 
| 210 | 212 |   proxy: | 
| 211 | 213 |     description: | 
| 212 | 214 |       - The name of the proxy config to use for the environment. | 
|  | 
| 306 | 308 |     public_key_id: example-sshkey | 
| 307 | 309 |     network_cidr: 10.10.0.0/16 | 
| 308 | 310 |     inbound_cidr: 0.0.0.0/0 | 
|  | 311 | +    freeipa: | 
|  | 312 | +      instanceCountByGroup: 3 | 
| 309 | 313 |     tags: | 
| 310 | 314 |       project: Arbitrary content | 
| 311 | 315 | 
 | 
| @@ -1016,8 +1020,9 @@ def main(): | 
| 1016 | 1020 |             workload_analytics=dict(required=False, type='bool', default=True), | 
| 1017 | 1021 |             description=dict(required=False, type='str', aliases=['desc']), | 
| 1018 | 1022 |             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)), | 
| 1021 | 1026 |             project=dict(required=False, type='str'), | 
| 1022 | 1027 |             proxy=dict(required=False, type='str', aliases=['[proxy_config', 'proxy_config_name']), | 
| 1023 | 1028 |             cascade=dict(required=False, type='bool', default=False, aliases=['cascading']), | 
|  | 
0 commit comments