X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b8327dbd4ad1f06acf2d42bf056ef1cbfe83c27f..87daa0d823c8f92eda8190f2d9b482b3d85a7a0c:/cookbooks/postgresql/resources/table.rb diff --git a/cookbooks/postgresql/resources/table.rb b/cookbooks/postgresql/resources/table.rb index 4bb2431ee..ed2655932 100644 --- a/cookbooks/postgresql/resources/table.rb +++ b/cookbooks/postgresql/resources/table.rb @@ -23,7 +23,7 @@ property :table, :kind_of => String, :name_property => true property :cluster, :kind_of => String, :required => true property :database, :kind_of => String, :required => true property :schema, :kind_of => String, :default => "public" -property :owner, :kind_of => String, :required => true +property :owner, :kind_of => String, :required => [:create] property :permissions, :kind_of => Hash, :default => {} action :create do