# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
-# http://www.apache.org/licenses/LICENSE-2.0
+# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
options "--format-executable"
end
-apache_module "deflate"
-
apache_module "passenger" do
conf "passenger.conf.erb"
end
directory "/srv/owl.openstreetmap.org" do
owner "owl"
group "owl"
- mode 02775
+ mode 0o2775
end
file "/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/tmp/restart.txt" do
source "database.yml.erb"
owner "owl"
group "owl"
- mode 0664
+ mode 0o664
notifies :run, "execute[/srv/owl.openstreetmap.org/openstreetmap-watch-list/rails/Gemfile]"
- only_if { node[:postgresql][:clusters]["9.1/main"] }
+ only_if { node[:postgresql][:clusters][:"9.1/main"] }
end
apache_site "owl.openstreetmap.org" do
template "apache.erb"
- variables :aliases => [ "owl.osm.org" ]
+ variables :aliases => ["owl.osm.org"]
end