]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/postgresql/resources/tablespace.rb
Fix new foodcritic warnings
[chef.git] / cookbooks / postgresql / resources / tablespace.rb
index 167a68bfdc57f56df0635924bf10e248f8f59a4f..93bb021ce006d8813c2f0e35183e01d1b2eb683f 100644 (file)
 # 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