enable extended attributes for mime-types
This commit is contained in:
parent
7888c10c0c
commit
1a0bdc444c
1 changed files with 7 additions and 0 deletions
|
@ -224,6 +224,13 @@ class md_publisher(Array $allow_clients=['any'], $keyname=undef, String $dir="/v
|
|||
target => "/etc/ssl/private/${_keyname}.pem"
|
||||
} ->
|
||||
apparmor::profile { 'usr.sbin.lighttpd': source => '/etc/apparmor-cosmos/usr.sbin.lighttpd' } ->
|
||||
file {'/etc/lighttpd/conf-enabled/99-mime-xattr.conf':
|
||||
ensure => file,
|
||||
mode => '0640',
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
content => inline_template("mimetype.use-xattr = \"enable\"")
|
||||
} ->
|
||||
service {'lighttpd': ensure => running } ->
|
||||
sunet::misc::ufw_allow {'allow-lighttpd':
|
||||
from => $allow_clients,
|
||||
|
|
Loading…
Add table
Reference in a new issue