end
postgresql_version = node[:tile][:database][:cluster].split("/").first
+postgis_version = node[:tile][:database][:postgis]
package "postgis"
-package "postgresql-#{postgresql_version}-postgis-2.3"
+package "postgresql-#{postgresql_version}-postgis-#{postgis_version}"
postgresql_user "jburgess" do
cluster node[:tile][:database][:cluster]
},
:tile => {
:database => {
- :cluster => "9.6/main"
+ :cluster => "9.6/main",
+ :postgis => "2.3"
},
:node_file => "/store/database/nodes",
:styles => {
},
:tile => {
:database => {
- :cluster => "10/main"
+ :cluster => "10/main",
+ :postgis => "2.4"
},
:node_file => "/store/database/nodes",
:styles => {
},
:tile => {
:database => {
- :cluster => "9.6/main"
+ :cluster => "9.6/main",
+ :postgis => "2.3"
},
:node_file => "/store/database/nodes",
:styles => {
},
:tile => {
:database => {
- :cluster => "9.6/main"
+ :cluster => "9.6/main",
+ :postgis => "2.3"
},
:node_file => "/store/database/nodes",
:styles => {
},
:tile => {
:database => {
- :cluster => "9.6/main"
+ :cluster => "9.6/main",
+ :postgis => "2.3"
},
:node_file => "/store/database/nodes",
:styles => {