mode "755"
files_owner name.to_s
files_group name.to_s
- files_mode 0o644
+ files_mode "644"
only_if do
cookbook = run_context.cookbook_collection[cookbook_name]
files = cookbook.relative_filenames_in_preferred_directory(node, :files, name.to_s)
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
end
ssl_certificate "ooc.openstreetmap.org" do
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
end
ssl_certificate "dmca.openstreetmap.org" do
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
end
zones = []
mode "755"
files_owner "root"
files_group "Debian-exim"
- files_mode 0o755
+ files_mode "755"
purge true
end
mode "755"
files_owner "gpstile"
files_group "gpstile"
- files_mode 0o644
+ files_mode "644"
end
apache_module "headers"
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
end
apache_site "irc.openstreetmap.org" do
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
end
directory "/srv/acme.openstreetmap.org/requests" do
mode "755"
files_owner node[:mediawiki][:user]
files_group node[:mediawiki][:group]
- files_mode 0o755
+ files_mode "755"
end
else
extension_repository = new_resource.repository || default_repository
mode "755"
files_owner node[:mediawiki][:user]
files_group node[:mediawiki][:group]
- files_mode 0o755
+ files_mode "755"
end
else
skin_repository = new_resource.repository || default_repository
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
purge true
end
mode "750"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
purge false
notifies :restart, "service[munin-node]"
end
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
end
# directory to put dumped files in
mode "0755"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
end
remote_directory "/store/planet#cgi" do
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
end
remote_directory node[:planet][:dump][:xml_history_directory] do
mode "775"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
end
remote_directory "/store/planet/cc-by-sa/full-experimental" do
mode "775"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
end
[:xml_directory, :xml_history_directory,
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
end
execute "/opt/flush/Makefile" do
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
end
template "/usr/local/bin/users-agreed" do
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
end
remote_directory "/store/planet/replication" do
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
end
directory "/store/planet/replication/changesets" do
mode "755"
files_owner "www-data"
files_group "www-data"
- files_mode 0o755
+ files_mode "755"
purge false
end
mode "755"
files_owner "tile"
files_group "tile"
- files_mode 0o644
+ files_mode "644"
end
template "/srv/tile.openstreetmap.org/html/index.html" do
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
end
template "/usr/local/bin/expire-tiles" do
mode "755"
files_owner "trac"
files_group "trac"
- files_mode 0o644
+ files_mode "644"
purge true
end
mode "755"
files_owner "trac"
files_group "trac"
- files_mode 0o644
+ files_mode "644"
purge true
end
action [:disable]
end
-# Static legacy files used by external websites
-# eg: OpenLayers
remote_directory "#{node[:web][:base_directory]}/static" do
source "static"
owner "root"
mode "755"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
end
apache_site "www.openstreetmap.org" do
mode "755"
files_owner node[:wordpress][:user]
files_group node[:wordpress][:group]
- files_mode 0o755
+ files_mode "755"
end
else
plugin_repository = new_resource.repository || default_repository
mode "755"
files_owner node[:wordpress][:user]
files_group node[:wordpress][:group]
- files_mode 0o644
+ files_mode "644"
end
else
theme_repository = new_resource.repository || default_repository