git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/hieradata
diff options
context:
space:
mode:
authormail_redacted_for_web 2015-11-24 11:16:51 -0800
committermail_redacted_for_web 2015-11-24 11:16:51 -0800
commitafc9a358f30c51029d7a37122d4adfcc2add88a6 (patch)
tree655439e13d1cee28e254d6d92da6f13c4c5aa670 /hieradata
parent869a5c3aa974b53e2f7f4c8fd8ab01fab0420f6d (diff)
parent7e40513c531d98015101367baf5d480d7ea6d2e3 (diff)
downloadcontrol-repo-template-afc9a358f30c51029d7a37122d4adfcc2add88a6.tar.bz2
Merge branch 'production' of https://github.com/npwalker/control-repo into merge_npwalker_control_repo
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'