Creating an installation parameters JSON file
To install PE from the Puppet Installation Manager
(PIM) command line, you must create a JSON file containing your installation parameters and
pass that file with the install
command. The JSON file
defines your installation architecture, including the option for disaster
recovery.
Installation configuration examples
The following examples illustrate how to structure the JSON file for different PE configurations.
Installation parameters for an extra-large architecture with disaster recovery
{ "primary_host": "pe-xl-core-0.lab1.puppet.vm", "primary_postgresql_host": "pe-xl-core-1.lab1.puppet.vm", "replica_host": "pe-xl-core-2.lab1.puppet.vm", "replica_postgresql_host": "pe-xl-core-3.lab1.puppet.vm", "compiler_hosts": [ "pe-xl-compiler-0.lab1.puppet.vm", "pe-xl-compiler-1.lab1.puppet.vm" ], "console_password": "puppetlabs", "dns_alt_names": ["puppet", "puppet.lab1.puppet.vm"], "version": "2023.6.0" }
Installation parameters for an extra-large architecture without disaster recovery
{ "primary_host": "pe-xl-core-0.lab1.puppet.vm", "primary_postgresql_host": "pe-xl-core-1.lab1.puppet.vm", "compiler_hosts": [ "pe-xl-compiler-0.lab1.puppet.vm", "pe-xl-compiler-1.lab1.puppet.vm" ], "console_password": "puppetlabs", "dns_alt_names": ["puppet", "puppet.lab1.puppet.vm"], "version": "2023.6.0" }
Installation parameters for a large architecture with disaster recovery
{ "primary_host": "pe-l-core-0.lab1.puppet.vm", "replica_host": "pe-l-core-2.lab1.puppet.vm", "compiler_hosts": [ "pe-l-compiler-0.lab1.puppet.vm", "pe-l-compiler-1.lab1.puppet.vm" ], "console_password": "puppetlabs", "dns_alt_names": ["puppet", "puppet.lab1.puppet.vm"], "version": "2023.6.0" }
Installation parameters for a large architecture without disaster recovery
{ "primary_host": "pe-l-core-0.lab1.puppet.vm", "compiler_hosts": [ "pe-l-compiler-0.lab1.puppet.vm", "pe-l-compiler-1.lab1.puppet.vm" ], "console_password": "puppetlabs", "dns_alt_names": ["puppet", "puppet.lab1.puppet.vm"], "version": "2023.6.0" }
Installation parameters for a standard architecture with disaster recovery
{ "primary_host": "pe-core-0.lab1.puppet.vm", "replica_host": "pe-core-2.lab1.puppet.vm", "console_password": "puppetlabs", "dns_alt_names": ["puppet", "puppet.lab1.puppet.vm"], "version": "2023.6.0" }
Installation parameters for a standard architecture without disaster recovery
{ "primary_host": "pe-core-0.lab1.puppet.vm", "console_password": "puppetlabs", "dns_alt_names": ["puppet", "puppet.lab1.puppet.vm"], "version": "2023.6.0" }