1 default[:postgresql][:versions] = []
2 default[:postgresql][:clusters] = {}
3 default[:postgresql][:monitor_tables] = true
4 default[:postgresql][:settings][:defaults][:port] = "5432"
5 default[:postgresql][:settings][:defaults][:max_connections] = "100"
6 default[:postgresql][:settings][:defaults][:ssl] = "true"
7 default[:postgresql][:settings][:defaults][:shared_buffers] = "32MB"
8 default[:postgresql][:settings][:defaults][:temp_buffers] = "8MB"
9 default[:postgresql][:settings][:defaults][:work_mem] = "1MB"
10 default[:postgresql][:settings][:defaults][:maintenance_work_mem] = "16MB"
11 default[:postgresql][:settings][:defaults][:max_stack_depth] = "2MB"
12 default[:postgresql][:settings][:defaults][:effective_io_concurrency] = "1"
13 default[:postgresql][:settings][:defaults][:max_worker_processes] = "8"
14 default[:postgresql][:settings][:defaults][:max_parallel_workers_per_gather] = "2"
15 default[:postgresql][:settings][:defaults][:max_parallel_workers] = "8"
16 default[:postgresql][:settings][:defaults][:wal_level] = "minimal"
17 default[:postgresql][:settings][:defaults][:fsync] = "on"
18 default[:postgresql][:settings][:defaults][:synchronous_commit] = "on"
19 default[:postgresql][:settings][:defaults][:wal_buffers] = "-1"
20 default[:postgresql][:settings][:defaults][:wal_writer_delay] = "200ms"
21 default[:postgresql][:settings][:defaults][:commit_delay] = "0"
22 default[:postgresql][:settings][:defaults][:checkpoint_segments] = "3"
23 default[:postgresql][:settings][:defaults][:checkpoint_timeout] = "5min"
24 default[:postgresql][:settings][:defaults][:max_wal_size] = "1GB"
25 default[:postgresql][:settings][:defaults][:min_wal_size] = "80MB"
26 default[:postgresql][:settings][:defaults][:checkpoint_completion_target] = "0.5"
27 default[:postgresql][:settings][:defaults][:archive_mode] = "off"
28 default[:postgresql][:settings][:defaults][:max_wal_senders] = "0"
29 default[:postgresql][:settings][:defaults][:max_replication_slots] = "0"
30 default[:postgresql][:settings][:defaults][:hot_standby] = "off"
31 default[:postgresql][:settings][:defaults][:hot_standby_feedback] = "off"
32 default[:postgresql][:settings][:defaults][:random_page_cost] = "4.0"
33 default[:postgresql][:settings][:defaults][:cpu_tuple_cost] = "0.01"
34 default[:postgresql][:settings][:defaults][:effective_cache_size] = "128MB"
35 default[:postgresql][:settings][:defaults][:default_statistics_target] = "100"
36 default[:postgresql][:settings][:defaults][:jit] = "on"
37 default[:postgresql][:settings][:defaults][:log_min_duration_statement] = "-1"
38 default[:postgresql][:settings][:defaults][:track_activity_query_size] = "1024"
39 default[:postgresql][:settings][:defaults][:autovacuum_max_workers] = "3"
40 default[:postgresql][:settings][:defaults][:autovacuum_naptime] = "1min"
41 default[:postgresql][:settings][:defaults][:autovacuum_vacuum_scale_factor] = "0.2"
42 default[:postgresql][:settings][:defaults][:autovacuum_analyze_scale_factor] = "0.1"
43 default[:postgresql][:settings][:defaults][:shared_preload_libraries] = []
44 default[:postgresql][:settings][:defaults][:max_locks_per_transaction] = "64"
45 default[:postgresql][:settings][:defaults][:user_name_maps] = {}
46 default[:postgresql][:settings][:defaults][:early_authentication_rules] = []
47 default[:postgresql][:settings][:defaults][:late_authentication_rules] = []
48 default[:postgresql][:settings][:defaults][:standby_mode] = "off"
50 default[:apt][:sources] = node[:apt][:sources] | ["postgresql"]