X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3cab1d392b3c22dfcad4099df33f6ef2eccefa29..5a207c66f87d1d119e0b3824345e1371e686eb7c:/cookbooks/passenger/resources/application.rb?ds=inline diff --git a/cookbooks/passenger/resources/application.rb b/cookbooks/passenger/resources/application.rb index 1beb4bd3e..5f5e2efbb 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,11 @@ # limitations under the License. # -default_action :nothing +unified_mode true -property :application, String, :name_attribute => true +default_action :restart -action :nothing do -end +property :application, String, :name_property => true action :restart do execute new_resource.application do