Use owner/group matching runner compose file

This commit is contained in:
Patrik Lundin 2024-10-03 20:57:28 +02:00
parent 284bc65dbe
commit 48d3b890d0
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -13,10 +13,11 @@ class cdn::runner(
mode => '0750', mode => '0750',
} }
# The owner/group matches 'user' in compose file for runner
file { '/opt/forgejo-runner/data': file { '/opt/forgejo-runner/data':
ensure => directory, ensure => directory,
owner => 'root', owner => '1001',
group => 'root', group => '1001',
mode => '0750', mode => '0750',
} }