X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..3944d4a4eb4d96ca5e747739f4967f590672d4e4:/cookbooks/postgresql/resources/extension.rb?ds=sidebyside diff --git a/cookbooks/postgresql/resources/extension.rb b/cookbooks/postgresql/resources/extension.rb index 8c876f473..a1363424d 100644 --- a/cookbooks/postgresql/resources/extension.rb +++ b/cookbooks/postgresql/resources/extension.rb @@ -17,13 +17,10 @@ # limitations under the License. # +default_action :create + actions :create, :drop attribute :extension, :kind_of => String, :name_attribute => true attribute :cluster, :kind_of => String, :required => true attribute :database, :kind_of => String, :required => true - -def initialize(*args) - super - @action = :create -end