From 15450cd92c1a77c3538e9ab95efec09ffd78a0b8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 3 Jun 2014 00:04:30 +0100 Subject: [PATCH 1/1] Add role for pummelzacken --- roles/pummelzacken.rb | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 roles/pummelzacken.rb diff --git a/roles/pummelzacken.rb b/roles/pummelzacken.rb new file mode 100644 index 000000000..b172ce066 --- /dev/null +++ b/roles/pummelzacken.rb @@ -0,0 +1,43 @@ +name "pummelzacken" +description "Master role applied to pummelzacken" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "em1", + :role => :internal, + :family => :inet, + :address => "10.0.0.20" + } + } + }, + :postgresql => { + :settings => { + :defaults => { + :shared_buffers => "24GB", + :work_mem => "160MB", + :maintenance_work_mem => "10GB", + :random_page_cost => "1.5", + :effective_cache_size => "48GB" + } + } + }, + :nominatim => { + :fpm_pools => { + :www => { + :pm => "dynamic", + :max_children => "70" + }, + :bulk => { + :pm => "static", + :max_children => "10" + } + } + } +) + +run_list( + "role[ucl-internal]", + "role[nominatim]" +) -- 2.43.2