X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/db1258aa91142e37e5dcded368a25ec2c937f473..9bca5f05185dde08efcf2d5f1a2bf66c8cdc9f00:/cookbooks/postgresql/providers/table.rb diff --git a/cookbooks/postgresql/providers/table.rb b/cookbooks/postgresql/providers/table.rb index b1dc85f7b..f162347dd 100644 --- a/cookbooks/postgresql/providers/table.rb +++ b/cookbooks/postgresql/providers/table.rb @@ -26,7 +26,7 @@ def load_current_resource @current_resource.cluster(new_resource.cluster) @current_resource.database(new_resource.database) @current_resource.schema(new_resource.schema) - if pg_table = @tables[@name] + if (pg_table = @tables[@name]) @current_resource.owner(pg_table[:owner]) @current_resource.permissions(pg_table[:permissions]) end