Puppet Class: postgresql
- Inherits:
-
postgresql::params
- postgresql::params
- postgresql
- Defined in:
- manifests/init.pp
Overview
Parameter Summary
- version (Any) => $postgresql::params::version_default -
version to install
- datadir (Any) => $postgresql::params::datadir_default -
datadir to use
- initdb (Any) => true -
boolean, set it to true to create datadir's directies. In a standby server with streaming replication you want to set it to false
- overcommit_memory (Any) => '2' -
modes available: undef: do not change it, 0: heuristic overcommit (this is the default), 1: always overcommit, never check, 2: always check, never
- shmmax (Any) => ceiling(sprintf('%f', $::memorysize_mb)*786432) -
maximum size of shared memory segment
- shmall (Any) => ceiling(ceiling(sprintf('%f', $::memorysize_mb)*786432)/$::eyp_postgresql_pagesize) -
total amount of shared memory available
- manage_service (Any) => true -
set it to true to manage PostgreSQL's service
- listen (Any) => [ '*' ]
- port (Any) => $postgresql::params::port_default
- max_connections (Any) => '100'
- wal_level (Any) => 'hot_standby'
- max_wal_senders (Any) => '0'
- checkpoint_segments (Any) => '16'
- wal_keep_segments (Any) => '0'
- hot_standby (Any) => false
- pidfile (Any) => $postgresql::params::servicename[$postgresql::params::version_default]
- log_directory (Any) => $postgresql::params::log_directory_default
- log_filename (Any) => $postgresql::params::log_filename_default
- track_activities (Any) => true
- track_counts (Any) => true
- autovacuum (Any) => true
- autovacuum_vacuum_scale_factor (Any) => '0.0'
- autovacuum_vacuum_threshold (Any) => '5000'
- autovacuum_analyze_scale_factor (Any) => '0.0'
- autovacuum_analyze_threshold (Any) => '5000'
- timezone (Any) => $postgresql::params::timezone_default
- log_timezone (Any) => $postgresql::params::timezone_default
- superuser_reserved_connections (Any) => '5'
- archive_mode (Any) => false
- archive_command_custom (Any) => undef -
custom archive command
- archive_dir (Any) => undef -
archive dir, if archive_command_custom is undef, it will be: test ! -f ${archive_dir}/%f && cp %p ${archive_dir}/%f
- archive_dir_user (Any) => undef -
archive dir user
- archive_dir_group (Any) => undef -
archive dir group
- archive_dir_mode (Any) => undef -
archive dir mode
- archive_dir_chmod (Any) => undef -
chmod to this mask if using archive_dir
- archive_timeout (Any) => '0'
- archived_wals_retention (Any) => '+7'
- archived_wals_hour (Any) => '0'
- archived_wals_minute (Any) => '0'
- archived_wals_month (Any) => '*'
- archived_wals_monthday (Any) => '*'
- archived_wals_weekday (Any) => '*'
- maintenance_work_mem (Any) => '10MB'
- wal_buffers (Any) => '-1'
- work_mem (Any) => '8MB'
- shared_buffers (Any) => sprintf('%dMB',ceiling(sprintf('%f', $::memorysize_mb)/4))
- lc_messages (Any) => 'C'
- lc_monetary (Any) => 'en_US.UTF-8'
- lc_numeric (Any) => 'en_US.UTF-8'
- lc_time (Any) => 'en_US.UTF-8'
- default_text_search_config (Any) => 'pg_catalog.english'
- shared_preload_libraries (Any) => undef