Cookbooks
postgresql
documentation
Postgresql Install

postgresql_install

Back to resource list

Actions

  • :install
  • :install_client
  • :install_server
  • :remove
  • :remove_client
  • :remove_server
  • :repository
  • :repository_create
  • :repository_delete
  • :init_server

Properties

NameName?TypeDefaultDescriptionAllowed Values
sensitivetrue, false
versionString, IntegerVersion to install
sourceString, SymbolInstallation sourcerepo, os
client_packagesString, ArrayClient packages to install
server_packagesString, ArrayServer packages to install
repo_pgdgtrue, falseCreate pgdg repo
repo_pgdg_commontrue, falseCreate pgdg-common repo
repo_pgdg_sourcetrue, falseCreate pgdg-source repo
repo_pgdg_updates_testingtrue, falseCreate pgdg-updates-testing repo
repo_pgdg_source_updates_testingtrue, falseCreate pgdg-source-updates-testing repo
yum_gpg_key_uriStringYUM/DNF GPG key URL
apt_gpg_key_uriStringapt GPG key URL
initdb_additional_optionsStringAdditional options to pass to the initdb command
initdb_localeStringLocale to use for the initdb command
initdb_encodingStringEncoding to use for the initdb command
initdb_userStringUser to run the initdb command as

Libraries

  • PostgreSQL::Cookbook::Helpers