Commit a8d54e82 authored by Dennis Klein's avatar Dennis Klein
Browse files

fix mime-type of .cvmfs* metadata files

parent c24e113b
......@@ -4,7 +4,7 @@ maintainer_email "hpc@gsi.de"
license "Apache 2.0"
description "Deploy and configure CernVM-FS clients and servers."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.1.8"
version "0.1.9"
depends "sys"
depends "apache2"
supports "debian", ">= 7.0"
......@@ -33,9 +33,25 @@ when /^8.*/
# There is no need for a specific Apache configuration,
# Debian default configuration is sufficient...
package 'cvmfs-server'
template '/etc/apache2/conf-available/cvmfs-fix-mime-type.conf' do
source 'etc_apache2_conf-available_cvmfs-fix-mime-type.conf.erb'
mode 0644
notifies :run, 'execute[enable cvmfs fix]', :immediately
end
execute 'enable cvmfs fix' do
command 'a2enconf cvmfs-fix-mime-type'
action :nothing
notifies :reload, 'service[apache2]', :immediately
end
service 'apache2' do
supports ({ :reload => true })
action [:enable, :start]
end
end
# Initialize the repositories unless they exist
......
<FilesMatch "^\.(cvmfspublished|cvmfswhitelist)$">
ForceType application/x-cvmfs
</FilesMatch>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment