diff options
author | mail_redacted_for_web | 2015-08-14 12:01:30 -0700 |
---|---|---|
committer | mail_redacted_for_web | 2015-08-14 12:01:30 -0700 |
commit | 2e0181142bc3ce8d6945c83ff43a78b7436244e2 (patch) | |
tree | 8832fd7429a5b0fcb63755eae719932bcbe67467 /hieradata | |
parent | 6425d2bbe2759ba2bbbf75131f9abdd0a5e675df (diff) | |
download | control-repo-template-2e0181142bc3ce8d6945c83ff43a78b7436244e2.tar.bz2 |
Add puppet-master.yaml to hieradata
I need a way to tune my VMs to use less memory and this allows
me to do that.
Diffstat (limited to 'hieradata')
-rw-r--r-- | hieradata/nodes/puppet-master.yaml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/hieradata/nodes/puppet-master.yaml b/hieradata/nodes/puppet-master.yaml new file mode 100644 index 0000000..ba1a8ad --- /dev/null +++ b/hieradata/nodes/puppet-master.yaml @@ -0,0 +1,42 @@ +#These setting are intended for low memory testing VMs +#Not intended for general usage +--- +#Drop puppetdb Java Heap Size +#PE3.2 and above +pe_puppetdb::pe::java_args: + -Xmx: '256m' + -Xms: '64m' +#PE3.1 and below +pe_puppetdb::java_args: + -Xmx: '256m' + -Xms: '64m' +#Drop the activemq java heap size +pe_mcollective::role::master::activemq_heap_mb: '96' +#Allow access to the puppetdb performance dashboard from non-localhost +#This is insecure and also allows access to all API endpoints without verification +pe_puppetdb::pe::listen_address: '0.0.0.0' + +#PE3.7+ +#Allow access to the puppetdb performance dashboard from non-localhost +#This is insecure and also allows access to all API endpoints without verification +puppet_enterprise::profile::puppetdb::listen_address: '0.0.0.0' +puppet_enterprise::profile::amq::broker::heap_mb: '96' +puppet_enterprise::profile::master::java_args: + Xmx: '128m' + Xms: '128m' + 'XX:MaxPermSize': '=96m' + 'XX:PermSize': '=64m' +puppet_enterprise::profile::puppetdb::java_args: + Xmx: '64m' + Xms: '64m' + 'XX:MaxPermSize': '=96m' + 'XX:PermSize': '=64m' +puppet_enterprise::profile::console::java_args: + Xmx: '64m' + Xms: '64m' + 'XX:MaxPermSize': '=96m' + 'XX:PermSize': '=64m' +puppet_enterprise::master::puppetserver::jruby_max_active_instances: 1 #PE3.7.2 only +puppet_enterprise::profile::console::delayed_job_workers: 1 +#shared_buffers takes affect during install but is not managed after +puppet_enterprise::profile::database::shared_buffers: '4MB' |