Commit Graph

15 Commits

Author SHA1 Message Date
Nick Walker
5497d199b3 Remove max_requests_per_instance since hiera-eyaml is fixed
Prior to this commit, we mitigated issues with hiera-eyaml causing
a memory leak by setting max_requets_per_instance to 0

After this commit, we go back to the default for
max_requests_per_instance because the hiera-eyaml memory leak
has been resolved for months if you use the newest version
2016-08-04 15:51:07 -07:00
Nick Walker
2c98a9264c Reduce the scope of the control-repo to mostly an example
Prior to this commit, the control-repo was an example of the
structure of a control repo but it also included puppet code to
help setup code manager and instructions to get that all setup
in a very specific way.

This was great for users that wanted to follow those instructions
exactly but wasn't great for people just looking for an example to
start from.

After this commit, the control-repo will be just an example once
again and a new repo somehwere else will pop up to provide the
explicit instructions on how to use the example with code manager.

There are links added to puppetlabs/control-repo to a new repo
that will have a version of the code that once lived in
puppetlabs/control-repo
2016-03-29 15:53:10 -07:00
Nick Walker
270bf0a53a Disable max-requests-per-instance to mitigate hiera-eyaml mem leak
Hiera-eyaml currently causes a memory leak in puppetsever when
max-requests-per-instnace is enabled. So, defaulting to disabling
max-requests-per-instance.

https://tickets.puppetlabs.com/browse/SERVER-1154
https://github.com/TomPoulton/hiera-eyaml/issues/163
2016-02-24 11:47:27 -08:00
Nick Walker
947a5529a3 Disable code manager webhook authentication 2015-12-09 09:44:51 -08:00
Nick Walker
8c71bd0b13 Enable code manager via param in common.yaml 2015-11-25 16:06:29 -08:00
Nick Walker
3fcf6e3d5e change puppetserver heap to 192m 2015-10-29 11:59:19 -07:00
Nick Walker
1cb89d981a Fix some embarassing typos 2015-10-26 15:12:39 -07:00
Nick Walker
92f8d2d251 Configure the MoM to update the classifier after deploying code
This entailed configring the classifier to never sync on a
schedule.

Changing environment_timeout to unlimited for all masters.

Setting a postrun command for r10k that would update the class
information in the classifier (the update-classes endpoint).
2015-10-26 14:59:20 -07:00
Nick Walker
683a2209a6 Change puppetdb heap size to 96MB from 64MB 2015-10-16 14:28:17 -07:00
Nick Walker
03bfb39768 Change max_requests_per_instance to 10K 2015-10-06 12:58:04 -07:00
Nick Walker
809f682086 Add hiera key for tuning max_requests_per_instance
https://docs.puppetlabs.com/pe/2015.2/config_puppetserver.html#tuning-maxrequestsperinstance-on-puppet-server
2015-09-22 09:41:21 -07:00
Nick Walker
0af9bbf52d 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.
2015-08-18 14:01:20 -07:00
Nick Walker
2e0181142b 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.
2015-08-14 12:01:30 -07:00
Nick Walker
222673572a Rename defaults.yaml to common.yaml 2015-05-15 11:40:37 -07:00
Nick Walker
4e2a2b81cf Initial Commit
Stole Gary's puppet_repository and modified it for general
general consumption.

Upped the version of r10k to newest (1.4.1)

Ripped out the hiera examples just left defaults.yaml

Tweaked environment.conf
2015-01-13 16:42:06 -08:00