X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/600a5055b909a46e372c0bfe510bb412d2ccba34..5b4f815f6cd8433be1d66b8376b71452f974b225:/cookbooks/postgresql/resources/tablespace.rb?ds=inline diff --git a/cookbooks/postgresql/resources/tablespace.rb b/cookbooks/postgresql/resources/tablespace.rb index 167a68bfd..93bb021ce 100644 --- a/cookbooks/postgresql/resources/tablespace.rb +++ b/cookbooks/postgresql/resources/tablespace.rb @@ -17,13 +17,10 @@ # limitations under the License. # +default_action :create + actions :create, :drop attribute :tablespace, :kind_of => String, :name_attribute => true attribute :cluster, :kind_of => String, :required => true attribute :location, :kind_of => String, :required => true - -def initialize(*args) - super - @action = :create -end