#
-# 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
+default_action :restart
-property :application, String, :name_attribute => true
-
-action :nothing do
-end
+property :application, String, :name_property => true
action :restart do
execute new_resource.application do