-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo-pe.conf
125 lines (107 loc) · 5.91 KB
/
demo-pe.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#----------------------------------------------------------------------------
# Puppet Enterprise installer configuration file
# https://puppet.com/docs/pe/latest/installing_pe.html
#
# Format: Hocon
# https://puppet.com/docs/pe/latest/config_files.html
#----------------------------------------------------------------------------
{
#--------------------------------------------------------------------------
# ⚠️ REQUIRED FOR INSTALLATION ⚠️
#
# The password to log into the Puppet Enterprise console.
#
# After installation, you may set the console_admin_password to an empty
# string to avoid storing a password in plain text.
#--------------------------------------------------------------------------
"console_admin_password": "puppet123"
#--------------------------------------------------------------------------
# PE Component assignments.
#
# If you're performing a monolithic install (recommended), there is no need
# to change the default settings, and you do not need to set the
# puppetdb_host and console_host parameters.
#
# When performing a split install, do not use the %{::trusted.certname} fact.
# Instead set the FQDN for all three PE component nodes.
# For more information, refer to:
# https://puppet.com/docs/pe/latest/installing_pe.html
#
# Overview of PE Components:
# https://puppet.com/docs/pe/latest/pe_architecture_overview.html
#-------------------------------------------------------------------------
# Puppet Enterprise Master
"puppet_enterprise::puppet_master_host": "%{::trusted.certname}"
# Puppet Enterprise Console
#"puppet_enterprise::console_host": ""
# PuppetDB
#"puppet_enterprise::puppetdb_host": ""
# Hostname of database node if pe-postgres is being run on its own node
#"puppet_enterprise::database_host": ""
#--------------------------------------------------------------------------
# DATABASE CONFIGURATION
#
# Puppet Enterprise uses PostgreSQL as a database backend.
# PE can install and manage a new one (recommended), or you can use an
# existing instance.
#
# For details on using an existing PostgreSQL database, visit:
# https://puppet.com/docs/pe/latest/installing_postgresql.html
#
# UPGRADE NOTE:
# If you’re upgrading and have previously used non-default database names and
# users, you must uncomment and change these parameters to match what you
# have used.
#--------------------------------------------------------------------------
#"puppet_enterprise::activity_database_name": "pe-activity"
#"puppet_enterprise::activity_service_migration_db_user": "pe-activity"
#"puppet_enterprise::activity_service_regular_db_user": "pe-activity"
#"puppet_enterprise::classifier_database_name": "pe-classifier"
#"puppet_enterprise::classifier_service_migration_db_user": "pe-classifier"
#"puppet_enterprise::classifier_service_regular_db_user": "pe-classifier"
#"puppet_enterprise::orchestrator_database_name": "pe-orchestrator"
#"puppet_enterprise::orchestrator_service_migration_db_user": "pe-orchestrator"
#"puppet_enterprise::orchestrator_service_regular_db_user": "pe-orchestrator"
#"puppet_enterprise::rbac_database_name": "pe-rbac"
#"puppet_enterprise::rbac_service_migration_db_user": "pe-rbac"
#"puppet_enterprise::rbac_service_regular_db_user": "pe-rbac"
#"puppet_enterprise::puppetdb_database_name": "pe-puppetdb"
#"puppet_enterprise::puppetdb_database_user": "pe-puppetdb"
# EXTERNAL POSTGRES OPTIONS ONLY
# If you're using an existing PostgreSQL instance that was not set up by
# Puppet Enterprise, set the following parameters:
#"puppet_enterprise::database_ssl": false
#"puppet_enterprise::database_cert_auth": false
#"puppet_enterprise::activity_database_password": "PASSWORD"
#"puppet_enterprise::classifier_database_password": "PASSWORD"
#"puppet_enterprise::orchestrator_database_password": "PASSWORD"
#"puppet_enterprise::rbac_database_password": "PASSWORD"
#"puppet_enterprise::puppetdb_database_password": "PASSWORD"
#--------------------------------------------------------------------------
# ADVANCED AND CUSTOM PARAMETERS
#
# You can use the following parameters as needed, or add your own parameters
# to this section.
#
# For a complete list of parameters and what they do, visit:
# https://puppet.com/docs/pe/latest/installing_pe.html
#--------------------------------------------------------------------------
# DNS altnames to be added to the SSL certificate generated for the Puppet
# master node. Only used at install time.
#"pe_install::puppet_master_dnsaltnames": ["puppet"]
#Enabling this configures code manager, all three below values should be enabled and populated at the same time.
#"puppet_enterprise::profile::master::code_manager_auto_configure": true
#The ssh url to your existing control repo.
#"puppet_enterprise::profile::master::r10k_remote": "[email protected]:puppet/control.git"
#The private key to your puppetmaster for establishing key-based ssh authentication to your vcs.
#"puppet_enterprise::profile::master::r10k_private_key": "/etc/puppetlabs/puppetserver/ssh/id-control_repo.rsa"
# Low memory demo tuning
"puppet_enterprise::profile::amq::broker::heap_mb": "96"
"puppet_enterprise::master::puppetserver::jruby_max_active_instances": 1
"puppet_enterprise::profile::master::java_args": {"Xmx": "512m", "Xms": "128m", "XX:MaxPermSize": "=96m", "XX:PermSize": "=64m", "XX:+UseG1GC": ""}
"puppet_enterprise::profile::puppetdb::java_args": {"Xmx": "128m", "Xms": "64m", "XX:MaxPermSize": "=96m", "XX:PermSize": "=64m", "XX:+UseG1GC": ""}
"puppet_enterprise::profile::console::java_args": {"Xmx": "128m", "Xms": "64m", "XX:MaxPermSize": "=96m", "XX:PermSize": "=64m", "XX:+UseG1GC": ""}
"puppet_enterprise::profile::console::delayed_job_workers": "1"
"puppet_enterprise::profile::database::shared_buffers": "4MB"
"puppet_enterprise::profile::orchestrator::java_args": {"Xmx": "64m", "Xms": "64m", "XX:+UseG1GC": ""}
}