X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..18424e9038b5f06d815167da8f0c10bed5d5d211:/cookbooks/postgresql/resources/execute.rb diff --git a/cookbooks/postgresql/resources/execute.rb b/cookbooks/postgresql/resources/execute.rb index 49ff80e4f..f01e21912 100644 --- a/cookbooks/postgresql/resources/execute.rb +++ b/cookbooks/postgresql/resources/execute.rb @@ -17,6 +17,8 @@ # limitations under the License. # +default_action :run + actions :nothing, :run attribute :command, :kind_of => String, :name_attribute => true @@ -24,8 +26,3 @@ attribute :cluster, :kind_of => String, :required => true attribute :database, :kind_of => String, :required => true attribute :user, :default => "postgres" attribute :group, :default => "postgres" - -def initialize(*args) - super - @action = :run -end