Skip to content
A cookbook for installing and managing Postgis
Ruby
Find file
Latest commit 4a1cbed Feb 11, 2016 @realityforge Merge pull request #15 from andre1810/master
Add support for including postgresql recipe
Failed to load latest commit information.
attributes Add support for including postgresql recipe and increase version to 0… Feb 10, 2016
doc
files/default
recipes
test/integration/default/serverspec
.gitattributes
.gitignore berkshelf integration Jun 9, 2014
.kitchen.yml
.travis.yml
Berksfile
CHANGELOG.md
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENSE
README.md
Thorfile
chefignore
metadata.rb

README.md

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.
  • node['postgis']['include_postgresql_cookbook'] - Include postgresql::server cookbook. Defaults to true.

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

Something went wrong with that request. Please try again.