Pallet crate for postgres
This a crate to install and run postgres via Pallet.
Server Spec
The postgres crate defines the postgres function, that takes a settings map and returns a server-spec for installing postgres.
Settings
The postgres crate uses the following settings:
-
:versiona string to specify the point version of PostgreSQL (e.g.,"9.1"). The default is the version provided by the system's packaging system -
:componentsa set of one or more recognized keywords. The set of every component is#{:server :libs :client}. -
:strategyallows override of the install strategy (:packages,:package-source, or:rpm) -
:packagesthe packages that are used to install -
:package-sourcea non-default package source for the packages -
:rpmtakes a map ofremote-fileoptions specifying an RPM file to install -
:default-cluster-namename of the default cluster created by the installer -
:binpath to binaries -
:ownerunix owner for Postgres files -
:postgresql_filepath topostgresql.conf -
:has-pg-wrapperboolean flag for availability of a wrapper allowing command execution against a specified cluster. -
:has-multicluster-serviceboolean flag specifying whether the init service is multi-cluster capable. -
:initdb-viawhether to use the initdb (:initdb), or service (:service) to run initdb -
:optionsA map of options::data_directorypath to storage location:hba_filepath topg_hba.conflocation:ident_filepath topg_ident.conflocation:external_pid_filepath to pid file:unix_socket_directorypath to directory for unix sockets
Support
On the group, or #pallet on freenode irc.
License
Licensed under EPL
Copyright 2010, 2011, 2012 Hugo Duncan.