#
-# Cookbook Name:: imagery
+# Cookbook:: imagery
# Resource:: imagery_layer
#
-# Copyright 2016, OpenStreetMap Foundation
+# Copyright:: 2016, OpenStreetMap Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
group "root"
mode 0o644
variables new_resource.to_hash
- notifies :restart, "service[mapserv-fcgi-#{new_resource.site}]"
end
# Disable legacy service
def after_created
notifies :create, "imagery_site[#{site}]"
notifies :reload, "service[nginx]"
+ # notifies :restart, "service[mapserv-fcgi-#{site}]"
end