From 0af9bbf52d7283902141f05da3c642dcd2d64231 Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Tue, 18 Aug 2015 14:01:20 -0700 Subject: Move some hieradata around for easier testing in vagrant I now have a virtual hierarchy level for setting up my lower memory settings when using vagrant/virtualbox. The gms settings are in an example-puppet-master.yaml file in the nodes directory which are needed for the instructions. --- hieradata/nodes/example-puppet-master.yaml | 4 +++ hieradata/nodes/puppet-master.yaml | 42 ------------------------------ hieradata/virtual/virtualbox.yaml | 42 ++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 42 deletions(-) create mode 100644 hieradata/nodes/example-puppet-master.yaml delete mode 100644 hieradata/nodes/puppet-master.yaml create mode 100644 hieradata/virtual/virtualbox.yaml (limited to 'hieradata') diff --git a/hieradata/nodes/example-puppet-master.yaml b/hieradata/nodes/example-puppet-master.yaml new file mode 100644 index 0000000..677e10d --- /dev/null +++ b/hieradata/nodes/example-puppet-master.yaml @@ -0,0 +1,4 @@ +--- +git_management_system: 'gitlab' +gms_server_url: 'https://gitlab-server' +gms_api_token: 'BDkZfWWnk4LVTLHdAywd' diff --git a/hieradata/nodes/puppet-master.yaml b/hieradata/nodes/puppet-master.yaml deleted file mode 100644 index ba1a8ad..0000000 --- a/hieradata/nodes/puppet-master.yaml +++ /dev/null @@ -1,42 +0,0 @@ -#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' diff --git a/hieradata/virtual/virtualbox.yaml b/hieradata/virtual/virtualbox.yaml new file mode 100644 index 0000000..ba1a8ad --- /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: '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' -- cgit v1.2.3