|
10 | 10 |
|
11 | 11 | postgresql_config 'postgresql-server' do |
12 | 12 | server_config({ |
13 | | - 'max_connections' => 110, |
14 | | - 'shared_buffers' => '128MB', |
15 | | - 'log_destination' => 'stderr', |
16 | | - 'logging_collector' => true, |
17 | | - 'log_directory' => 'log', |
18 | | - 'log_filename' => 'postgresql-%a.log', |
19 | | - 'log_rotation_age' => '1d', |
20 | | - 'log_rotation_size' => 0, |
21 | | - 'log_truncate_on_rotation' => true, |
22 | | - 'log_line_prefix' => '%m [%p]', |
23 | | - 'log_timezone' => 'Etc/UTC', |
24 | | - 'datestyle' => 'iso, mdy', |
25 | | - 'timezone' => 'Etc/UTC', |
26 | | - 'lc_messages' => 'C', |
27 | | - 'lc_monetary' => 'C', |
28 | | - 'lc_numeric' => 'C', |
29 | | - 'lc_time' => 'C', |
30 | | - 'default_text_search_config' => 'pg_catalog.english', |
| 13 | + max_connections: 110, |
| 14 | + shared_buffers: '128MB', |
| 15 | + log_destination: 'stderr', |
| 16 | + logging_collector: true, |
| 17 | + log_directory: 'log', |
| 18 | + log_filename: 'postgresql-%a.log', |
| 19 | + log_rotation_age: '1d', |
| 20 | + log_rotation_size: 0, |
| 21 | + log_truncate_on_rotation: true, |
| 22 | + log_line_prefix: '%m [%p]', |
| 23 | + log_timezone: 'Etc/UTC', |
| 24 | + datestyle: 'iso, mdy', |
| 25 | + timezone: 'Etc/UTC', |
| 26 | + lc_messages: 'C', |
| 27 | + lc_monetary: 'C', |
| 28 | + lc_numeric: 'C', |
| 29 | + lc_time: 'C', |
| 30 | + default_text_search_config: 'pg_catalog.english', |
31 | 31 | }) |
32 | 32 |
|
33 | 33 | notifies :restart, 'postgresql_service[postgresql]', :delayed |
|
0 commit comments