]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/postgresql/resources/extension.rb
Fix new foodcritic warnings
[chef.git] / cookbooks / postgresql / resources / extension.rb
index 8c876f4739aba8f986c3d5b824284543764716de..a1363424d6d190699a56c4ea8aa56f12db322b11 100644 (file)
 # 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