Apparently have "nothing" as the default action for a custom resource
doesn't actually work, even if you define it explicitly.
# limitations under the License.
#
# limitations under the License.
#
property :application, String, :name_attribute => true
property :application, String, :name_attribute => true
-action :nothing do
-end
-
action :restart do
execute new_resource.application do
action :run
action :restart do
execute new_resource.application do
action :run
variables :name => site_name, :directory => directory
end
variables :name => site_name, :directory => directory
end
- passenger_application "#{directory}/taginfo/web/public"
+ passenger_application "#{directory}/taginfo/web/public" do
+ action :nothing
+ end
ssl_certificate site_name do
domains [site_name] + site_aliases
ssl_certificate site_name do
domains [site_name] + site_aliases
end
passenger_application rails_directory do
end
passenger_application rails_directory do
only_if { ::File.exist?("/usr/bin/passenger-config") }
end
only_if { ::File.exist?("/usr/bin/passenger-config") }
end