X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d6ed0a8d7822828b12aa2c90c6bcc62f780c2fa5..e837e94ac08643669c7c5506cb752a83e0cbe409:/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