Add hstore extension to rendering databases
authorTom Hughes <tom@compton.nu>
Sat, 27 May 2017 18:48:49 +0000 (19:48 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 27 May 2017 18:48:49 +0000 (19:48 +0100)
cookbooks/tile/recipes/default.rb

index ceadecd..679d2a3 100644 (file)
@@ -371,6 +371,11 @@ postgresql_extension "postgis" do
   database "gis"
 end
 
+postgresql_extension "hstore" do
+  cluster node[:tile][:database][:cluster]
+  database "gis"
+end
+
 %w(geography_columns planet_osm_nodes planet_osm_rels planet_osm_ways raster_columns raster_overviews spatial_ref_sys).each do |table|
   postgresql_table table do
     cluster node[:tile][:database][:cluster]