X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3cab1d392b3c22dfcad4099df33f6ef2eccefa29..66e3060c83b235c3942eab6cb162a6888bad8757:/cookbooks/passenger/resources/application.rb diff --git a/cookbooks/passenger/resources/application.rb b/cookbooks/passenger/resources/application.rb index 1beb4bd3e..3eef14c7f 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,12 +17,9 @@ # limitations under the License. # -default_action :nothing +default_action :restart -property :application, String, :name_attribute => true - -action :nothing do -end +property :application, String, :name_property => true action :restart do execute new_resource.application do