git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/hieradata
diff options
context:
space:
mode:
authormail_redacted_for_web 2015-11-25 16:51:43 +0000
committermail_redacted_for_web 2015-11-25 16:51:43 +0000
commit2859cffba989f4751d60ab0127e7ad5e7b65278a (patch)
treed74953d5f0595d1e1082dfece1f22e97111f7a51 /hieradata
parentc2bd0d3ca1fd4e9f2fce24196201835272fd1e21 (diff)
parent10732cf3700bce033091fc3d0e1e5d9bb643932d (diff)
downloadcontrol-repo-template-2859cffba989f4751d60ab0127e7ad5e7b65278a.tar.bz2
Merged from upstream
Diffstat (limited to 'hieradata')
-rw-r--r--hieradata/common.yaml8
-rw-r--r--hieradata/nodes/example-puppet-master.yaml8
-rw-r--r--hieradata/virtual/virtualbox.yaml42
3 files changed, 58 insertions, 0 deletions
diff --git a/hieradata/common.yaml b/hieradata/common.yaml
index 2baa62b..191061c 100644
--- a/hieradata/common.yaml
+++ b/hieradata/common.yaml
@@ -1,2 +1,10 @@
---
message: "This node is using common data"
+
+#Puppet Server Tuning
+puppet_enterprise::master::puppetserver::jruby_max_requests_per_instance: 10000
+
+#pe-console-services tuning
+#https://docs.puppetlabs.com/pe/latest/console_config.html#tuning-the-classifier-synchronization-period
+#disable classifier scheduled sync and rely on r10k postrun command to sync the classes
+puppet_enterprise::profile::console::classifier_synchronization_period: 0
diff --git a/hieradata/nodes/example-puppet-master.yaml b/hieradata/nodes/example-puppet-master.yaml
new file mode 100644
index 0000000..584faac
--- /dev/null
+++ b/hieradata/nodes/example-puppet-master.yaml
@@ -0,0 +1,8 @@
+---
+git_management_system: 'gitlab'
+gms_server_url: 'https://gitlab-server'
+gms_api_token: 'BDkZfWWnk4LVTLHdAywd'
+
+#setup r10k to update classes in the console after code deploy
+pe_r10k::postrun:
+ - '/usr/local/bin/update-classes.sh'
diff --git a/hieradata/virtual/virtualbox.yaml b/hieradata/virtual/virtualbox.yaml
new file mode 100644
index 0000000..9bc8237
--- /dev/null
+++ b/hieradata/virtual/virtualbox.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: '192m'
+ Xms: '128m'
+ 'XX:MaxPermSize': '=96m'
+ 'XX:PermSize': '=64m'
+puppet_enterprise::profile::puppetdb::java_args:
+ Xmx: '96m'
+ Xms: '96m'
+ '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'