X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3cab1d392b3c22dfcad4099df33f6ef2eccefa29..a5a3b8b5d676e4e7c46f5124325d2ca799bee76f:/cookbooks/passenger/resources/application.rb?ds=sidebyside diff --git a/cookbooks/passenger/resources/application.rb b/cookbooks/passenger/resources/application.rb index 1beb4bd3e..f2af9a2e8 100644 --- a/cookbooks/passenger/resources/application.rb +++ b/cookbooks/passenger/resources/application.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: passenger +# Cookbook:: passenger # Resource:: application # -# Copyright 2018, OpenStreetMap Foundation +# Copyright:: 2018, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,13 +17,10 @@ # limitations under the License. # -default_action :nothing +default_action :restart property :application, String, :name_attribute => true -action :nothing do -end - action :restart do execute new_resource.application do action :run