]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/passenger/resources/application.rb
Add test for osmosis cookbook
[chef.git] / cookbooks / passenger / resources / application.rb
index c0acc4b3fc0de47569fc105f87e79e921388ef7e..3eef14c7f8d8c767f69c6595f65dfd2e9e7da029 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.
@@ -17,9 +17,9 @@
 # limitations under the License.
 #
 
-default_action :nothing
+default_action :restart
 
-property :application, String, :name_attribute => true
+property :application, String, :name_property => true
 
 action :restart do
   execute new_resource.application do