X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7c28124864b39960cdf89b1b47c16a279fc04022..41487eea939ced6fb053fac4f68f77a314e4dfa5:/cookbooks/passenger/resources/application.rb?ds=sidebyside diff --git a/cookbooks/passenger/resources/application.rb b/cookbooks/passenger/resources/application.rb index ce0c0dc2f..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. # +unified_mode true + default_action :restart -property :application, String, :name_attribute => true +property :application, String, :name_property => true action :restart do execute new_resource.application do