Skip to content

Commit c33a693

Browse files
committed
Reduce resource utilization again
Again, because the test nodes are small and don't have that much memory.
1 parent cec9af4 commit c33a693

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

Diff for: tasks/configure_node_groups.pp

+5-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ function param($name) { inline_template("<%= ENV['PT_${name}'] %>") }
3737
['=', ['trusted', 'extensions', 'pp_cluster'], 'A'],
3838
],
3939
classes => {
40-
'puppet_enterprise::profile::puppetdb' => {
40+
'puppet_enterprise::profile::puppetdb' => { },
41+
'puppet_enterprise::profile::master' => {
4142
'puppetdb_host' => ['${clientcert}', $primary_master_host],
4243
'puppetdb_port' => [8081],
4344
}
@@ -52,7 +53,8 @@ function param($name) { inline_template("<%= ENV['PT_${name}'] %>") }
5253
['=', ['trusted', 'extensions', 'pp_cluster'], 'B'],
5354
],
5455
classes => {
55-
'puppet_enterprise::profile::puppetdb' => {
56+
'puppet_enterprise::profile::puppetdb' => { },
57+
'puppet_enterprise::profile::master' => {
5658
'puppetdb_host' => ['${clientcert}', $primary_master_replica_host],
5759
'puppetdb_port' => [8081],
5860
}
@@ -61,6 +63,7 @@ function param($name) { inline_template("<%= ENV['PT_${name}'] %>") }
6163

6264
node_group { 'PE HA Master':
6365
ensure => present,
66+
parent => 'PE Master',
6467
data => {
6568
'puppet_enterprise::profile::primary_master_replica' => {'database_host_puppetdb' => $puppetdb_database_replica_host }
6669
},

Diff for: templates/primary_master-pe.conf.epp

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,22 @@
3434

3535
# Sizing configuration for PE components. Adjust for size of VM(s)
3636
"puppet_enterprise::profile::master::java_args": {
37-
"Xmx": "4096m",
38-
"Xms": "2048m",
37+
"Xmx": "2048m",
38+
"Xms": "512m",
3939
}
4040

4141
"puppet_enterprise::profile::console::java_args": {
42-
"Xmx": "1024m",
42+
"Xmx": "768m",
4343
"Xms": "256m",
4444
}
4545

4646
"puppet_enterprise::profile::orchestrator::java_args": {
47-
"Xmx": "1024m",
47+
"Xmx": "768m",
4848
"Xms": "256m",
4949
}
5050

5151
"puppet_enterprise::profile::puppetdb::java_args": {
52-
"Xmx": "1024m",
52+
"Xmx": "768m",
5353
"Xms": "256m",
5454
}
5555

0 commit comments

Comments
 (0)