Fix mode on log files

This commit is contained in:
Micke Nordin 2024-10-09 14:23:08 +02:00
parent 6664271b49
commit 58af85571b
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 7 additions and 7 deletions

View file

@ -198,14 +198,14 @@ define sunetdrive::app_type (
force => true,
owner => 'www-data',
group => 'root',
mode => '0644',
mode => '0640',
}
file { '/opt/nextcloud/audit.log':
ensure => file,
force => true,
owner => 'www-data',
group => 'root',
mode => '0644',
mode => '0640',
}
file { '/opt/nextcloud/rclone.conf':
ensure => file,

View file

@ -16,14 +16,14 @@ class sunetdrive::onlyoffice () {
command => "docker login registry.gitlab.collabora.com -u ${token_name} -p ${access_token}",
}
sunet::collabora::docs { 'sunet-onlyoffice':
dns => [ '89.32.32.32' ],
extra_hosts => $extra_hosts,
dns => [ '89.32.32.32' ],
extra_hosts => $extra_hosts,
extra_volumes => ['/opt/collabora/coolwsd.xml:/etc/coolwsd/coolwsd.xml'],
docker_tag => $docker_tag,
docker_image => 'registry.gitlab.collabora.com/productivity/collabora-online-nc',
docker_tag => $docker_tag,
docker_image => 'registry.gitlab.collabora.com/productivity/collabora-online-nc',
}
file {'/opt/collabora/coolwsd.xml':
ensure => present,
ensure => present,
content => template('sunetdrive/document/coolwsd.xml.erb'),
}
}