]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/passenger/resources/application.rb
nominatim: complete rework of the setup
[chef.git] / cookbooks / passenger / resources / application.rb
index c0acc4b3fc0de47569fc105f87e79e921388ef7e..5f5e2efbb4c064a0207dceb900301d73f2acdb9e 100644 (file)
@@ -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.
 # 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