X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d6ed0a8d7822828b12aa2c90c6bcc62f780c2fa5..cc57b9e9a6f06eb2fdce5ed83aa5f9ed6cd90cad:/cookbooks/passenger/resources/application.rb diff --git a/cookbooks/passenger/resources/application.rb b/cookbooks/passenger/resources/application.rb index c0acc4b3f..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,9 +17,11 @@ # limitations under the License. # -default_action :nothing +unified_mode true -property :application, String, :name_attribute => true +default_action :restart + +property :application, String, :name_property => true action :restart do execute new_resource.application do