Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 1.36 KB

README.md

File metadata and controls

53 lines (31 loc) · 1.36 KB

Description

Build Status

The postgis cookbook installs and configures the Postgis Postgresql extension and creates a GIS enabled database template.

Requirements

Platform:

  • Ubuntu
  • Fedora
  • Centos
  • Rhel

Cookbooks:

  • apt
  • yum
  • postgresql

Attributes

  • node['postgis']['template_name'] - Postgis Template Database: The name of the gis database template. Set to nil to disable the creation of the template. Defaults to template_postgis.
  • node['postgis']['locale'] - Postgis Template locale: The locale of the database. Defaults to en_US.utf8.

Recipes

postgis::default

Install the Postgis binaries and create the template.

Note: this includes the postgresql::server after installing the postgis binaries.

Locale

It should be noted that it is best setup the locale so that the encoding is the desired database encoding prior to including the recipe. Typically this is set via a snippet such as;

node.override['locale']['lang'] = 'en_AU.UTF-8'
include_recipe 'locale::default'

include_recipe 'postgis::default'

License and Maintainer

Maintainer:: Peter Donald ([email protected])

License:: Apache 2.0