]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/postgresql/resources/execute.rb
Fix new cookstyle warnings
[chef.git] / cookbooks / postgresql / resources / execute.rb
index 8f59858b0c4389d033d7cf5e4379e25db3bd536b..7a0f5b7b9e855eaa5456bb1fe974dacff838a53c 100644 (file)
 
 default_action :run
 
-property :command, :kind_of => String, :name_attribute => true
+property :command, :kind_of => String, :name_property => true
 property :cluster, :kind_of => String, :required => true
 property :database, :kind_of => String, :required => true
 property :user, :default => "postgres"
 property :group, :default => "postgres"
 
-action :nothing do
-end
-
 action :run do
   options = { :database => new_resource.database, :user => new_resource.user, :group => new_resource.group }