Skip to content

A cookbook for installing and managing Postgis

License

Notifications You must be signed in to change notification settings

jackpine/chef-postgis

 
 

Repository files navigation

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 (peter@realityforge.org)

License:: Apache 2.0

About

A cookbook for installing and managing Postgis

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%