|  | 
| 2 | 2 | #   Puppet Enterprise Extra Large cluster.  This plan accepts all parameters | 
| 3 | 3 | #   used by its sub-plans, and invokes them in order. | 
| 4 | 4 | # | 
|  | 5 | +# @param compiler_pool_address  | 
|  | 6 | +#   The service address used by agents to connect to compilers, or the Puppet | 
|  | 7 | +#   service. Typically this is a load balancer. | 
|  | 8 | +# @param internal_compiler_a_pool_address | 
|  | 9 | +#   A load balancer address directing traffic to any of the "A" pool | 
|  | 10 | +#   compilers. This is used for DR/HA configuration in large and extra large | 
|  | 11 | +#   architectures. | 
|  | 12 | +# @param internal_compiler_b_pool_address | 
|  | 13 | +#   A load balancer address directing traffic to any of the "B" pool | 
|  | 14 | +#   compilers. This is used for DR/HA configuration in large and extra large | 
|  | 15 | +#   architectures. | 
|  | 16 | +# | 
| 5 | 17 | plan peadm::provision ( | 
| 6 | 18 |   # Standard | 
| 7 | 19 |   Peadm::SingleTargetSpec           $master_host, | 
|  | 
| 16 | 28 | 
 | 
| 17 | 29 |   # Common Configuration | 
| 18 | 30 |   String                            $console_password, | 
| 19 |  | -  String                            $version               = '2019.7.0', | 
| 20 |  | -  Optional[Array[String]]           $dns_alt_names         = undef, | 
| 21 |  | -  Optional[String]                  $compiler_pool_address = undef, | 
| 22 |  | -  Optional[Hash]                    $pe_conf_data          = { }, | 
|  | 31 | +  String                            $version                          = '2019.8.1', | 
|  | 32 | +  Optional[Array[String]]           $dns_alt_names                    = undef, | 
|  | 33 | +  Optional[String]                  $compiler_pool_address            = undef, | 
|  | 34 | +  Optional[String]                  $internal_compiler_a_pool_address = undef, | 
|  | 35 | +  Optional[String]                  $internal_compiler_b_pool_address = undef, | 
|  | 36 | +  Optional[Hash]                    $pe_conf_data                     = { }, | 
| 23 | 37 | 
 | 
| 24 | 38 |   # Code Manager | 
| 25 | 39 |   Optional[String]                  $r10k_remote              = undef, | 
|  | 
| 71 | 85 | 
 | 
| 72 | 86 |   $configure_result = run_plan('peadm::action::configure', | 
| 73 | 87 |     # Standard | 
| 74 |  | -    master_host                    => $master_host, | 
| 75 |  | -    master_replica_host            => $master_replica_host, | 
|  | 88 | +    master_host                      => $master_host, | 
|  | 89 | +    master_replica_host              => $master_replica_host, | 
| 76 | 90 | 
 | 
| 77 | 91 |     # Large | 
| 78 |  | -    compiler_hosts                 => $compiler_hosts, | 
|  | 92 | +    compiler_hosts                   => $compiler_hosts, | 
| 79 | 93 | 
 | 
| 80 | 94 |     # Extra Large | 
| 81 |  | -    puppetdb_database_host         => $puppetdb_database_host, | 
| 82 |  | -    puppetdb_database_replica_host => $puppetdb_database_replica_host, | 
|  | 95 | +    puppetdb_database_host           => $puppetdb_database_host, | 
|  | 96 | +    puppetdb_database_replica_host   => $puppetdb_database_replica_host, | 
| 83 | 97 | 
 | 
| 84 | 98 |     # Common Configuration | 
| 85 |  | -    compiler_pool_address          => $compiler_pool_address, | 
| 86 |  | -    deploy_environment             => $deploy_environment, | 
|  | 99 | +    compiler_pool_address            => $compiler_pool_address, | 
|  | 100 | +    internal_compiler_a_pool_address => $internal_compiler_a_pool_address, | 
|  | 101 | +    internal_compiler_b_pool_address => $internal_compiler_b_pool_address, | 
|  | 102 | +    deploy_environment               => $deploy_environment, | 
| 87 | 103 | 
 | 
| 88 | 104 |     # Other | 
| 89 |  | -    stagingdir                     => $stagingdir, | 
|  | 105 | +    stagingdir                       => $stagingdir, | 
| 90 | 106 |   ) | 
| 91 | 107 | 
 | 
| 92 | 108 |   # Return a string banner reporting on what was done | 
|  | 
0 commit comments