cluster node[:tile][:database][:cluster]
end
+postgresql_user "www-data" do
+ cluster node[:tile][:database][:cluster]
+end
+
postgresql_user "_renderd" do
cluster node[:tile][:database][:cluster]
end
cluster node[:tile][:database][:cluster]
database "gis"
owner "tile"
- permissions "tile" => :all, "_renderd" => :select
+ permissions "tile" => :all, "www-data" => :select, "_renderd" => :select
end
end
group "tile"
ignore_failure true
end
+
+ Array(node[:tile][:database][:external_data_tables]).each do |table|
+ postgresql_table table do
+ cluster node[:tile][:database][:cluster]
+ database "gis"
+ owner "tile"
+ permissions "tile" => :all, "www-data" => :select, "_renderd" => :select
+ end
+ end
end
postgresql_munin "gis" do